Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(463)

Side by Side Diff: chrome/utility/importer/nss_decryptor_null.h

Issue 23742004: Move PasswordForm from //content to //autofill. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_password_form_conversion_utils
Patch Set: Rebase Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_UTILITY_IMPORTER_NSS_DECRYPTOR_NULL_H_ 5 #ifndef CHROME_UTILITY_IMPORTER_NSS_DECRYPTOR_NULL_H_
6 #define CHROME_UTILITY_IMPORTER_NSS_DECRYPTOR_NULL_H_ 6 #define CHROME_UTILITY_IMPORTER_NSS_DECRYPTOR_NULL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 13
14 namespace autofill {
15 struct PasswordForm;
16 }
17
14 namespace base { 18 namespace base {
15 class FilePath; 19 class FilePath;
16 } 20 }
17 21
18 namespace content {
19 struct PasswordForm;
20 }
21
22 // A NULL wrapper for Firefox NSS decrypt component, for use in builds where 22 // A NULL wrapper for Firefox NSS decrypt component, for use in builds where
23 // we do not have the NSS library. 23 // we do not have the NSS library.
24 class NSSDecryptor { 24 class NSSDecryptor {
25 public: 25 public:
26 NSSDecryptor() {} 26 NSSDecryptor() {}
27 bool Init(const base::FilePath& dll_path, const base::FilePath& db_path) { 27 bool Init(const base::FilePath& dll_path, const base::FilePath& db_path) {
28 return false; 28 return false;
29 } 29 }
30 string16 Decrypt(const std::string& crypt) const { return string16(); } 30 string16 Decrypt(const std::string& crypt) const { return string16(); }
31 void ParseSignons(const std::string& content, 31 void ParseSignons(const std::string& content,
32 std::vector<content::PasswordForm>* forms) {} 32 std::vector<autofill::PasswordForm>* forms) {}
33 bool ReadAndParseSignons(const base::FilePath& sqlite_file, 33 bool ReadAndParseSignons(const base::FilePath& sqlite_file,
34 std::vector<content::PasswordForm>* forms) { 34 std::vector<autofill::PasswordForm>* forms) {
35 return false; 35 return false;
36 } 36 }
37 37
38 private: 38 private:
39 DISALLOW_COPY_AND_ASSIGN(NSSDecryptor); 39 DISALLOW_COPY_AND_ASSIGN(NSSDecryptor);
40 }; 40 };
41 41
42 #endif // CHROME_UTILITY_IMPORTER_NSS_DECRYPTOR_NULL_H_ 42 #endif // CHROME_UTILITY_IMPORTER_NSS_DECRYPTOR_NULL_H_
OLDNEW
« no previous file with comments | « chrome/utility/importer/nss_decryptor_mac.h ('k') | chrome/utility/importer/nss_decryptor_system_nss.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698