#include <PasswordImporter.hpp>
Static Public Member Functions | |
| static std::vector< ImportedCredential > | importFromFile (const std::string &path, std::string &errorMsg) |
| static BrowserFormat | detectFormat (const std::string &headerLine) |
| static PasswordEntry | toPasswordEntry (const ImportedCredential &cred) |
| static std::string | domainFromUrl (const std::string &url) |
Static Private Member Functions | |
| static std::vector< ImportedCredential > | parseChrome (const std::vector< std::string > &lines) |
| static std::vector< ImportedCredential > | parseFirefox (const std::vector< std::string > &lines) |
| static std::vector< ImportedCredential > | parseSafari (const std::vector< std::string > &lines) |
| static std::vector< std::string > | splitCsvLine (const std::string &line) |
| static std::string | unquoteCsv (const std::string &field) |
Definition at line 43 of file PasswordImporter.hpp.
|
static |
Definition at line 77 of file PasswordImporter.cpp.
References Chrome, Firefox, Safari, and Unknown.
Referenced by importFromFile(), and PasswordImportDialog::loadFile().
|
static |
Definition at line 288 of file PasswordImporter.cpp.
Referenced by parseFirefox(), PasswordImportDialog::populatePreview(), and toPasswordEntry().
|
static |
Definition at line 29 of file PasswordImporter.cpp.
References Chrome, detectFormat(), Edge, Firefox, parseChrome(), parseFirefox(), parseSafari(), and Safari.
Referenced by PasswordImportDialog::loadFile().
|
staticprivate |
Definition at line 106 of file PasswordImporter.cpp.
References ImportedCredential::name, ImportedCredential::password, splitCsvLine(), unquoteCsv(), ImportedCredential::url, and ImportedCredential::username.
Referenced by importFromFile().
|
staticprivate |
Definition at line 148 of file PasswordImporter.cpp.
References domainFromUrl(), ImportedCredential::name, ImportedCredential::password, splitCsvLine(), unquoteCsv(), ImportedCredential::url, and ImportedCredential::username.
Referenced by importFromFile().
|
staticprivate |
Definition at line 189 of file PasswordImporter.cpp.
References ImportedCredential::name, ImportedCredential::notes, ImportedCredential::password, splitCsvLine(), unquoteCsv(), ImportedCredential::url, and ImportedCredential::username.
Referenced by importFromFile().
|
staticprivate |
Definition at line 233 of file PasswordImporter.cpp.
Referenced by parseChrome(), parseFirefox(), and parseSafari().
|
static |
Definition at line 96 of file PasswordImporter.cpp.
References domainFromUrl(), ImportedCredential::name, PasswordEntry::name, ImportedCredential::notes, PasswordEntry::notes, ImportedCredential::url, PasswordEntry::url, ImportedCredential::username, and PasswordEntry::username.
Referenced by PasswordImportDialog::onImportClicked().
|
staticprivate |
Definition at line 268 of file PasswordImporter.cpp.
Referenced by parseChrome(), parseFirefox(), and parseSafari().