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

Unified Diff: chrome/browser/webdata/web_database.h

Issue 14419: Porting in browser/webdata and template_url. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 12 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/webdata/web_data_service.h ('k') | chrome/browser/webdata/web_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/webdata/web_database.h
===================================================================
--- chrome/browser/webdata/web_database.h (revision 6978)
+++ chrome/browser/webdata/web_database.h (working copy)
@@ -19,7 +19,9 @@
class Time;
}
struct PasswordForm;
+#if defined(OS_WIN)
struct IE7PasswordInfo;
+#endif
////////////////////////////////////////////////////////////////////////////////
//
@@ -79,18 +81,23 @@
// Adds |form| to the list of remembered password forms.
bool AddLogin(const PasswordForm& form);
+#if defined(OS_WIN)
// Adds |info| to the list of imported passwords from ie7/ie8.
bool AddIE7Login(const IE7PasswordInfo& info);
+ // Removes |info| from the list of imported passwords from ie7/ie8.
+ bool RemoveIE7Login(const IE7PasswordInfo& info);
+
+ // Return the ie7/ie8 login matching |info|.
+ bool GetIE7Login(const IE7PasswordInfo& info, IE7PasswordInfo* result);
+#endif
+
// Updates remembered password form.
bool UpdateLogin(const PasswordForm& form);
// Removes |form| from the list of remembered password forms.
bool RemoveLogin(const PasswordForm& form);
- // Removes |info| from the list of imported passwords from ie7/ie8.
- bool RemoveIE7Login(const IE7PasswordInfo& info);
-
// Removes all logins created from |delete_begin| onwards (inclusive) and
// before |delete_end|. You may use a null Time value to do an unbounded
// delete in either direction.
@@ -102,9 +109,6 @@
// including blacklisted matches.
bool GetLogins(const PasswordForm& form, std::vector<PasswordForm*>* forms);
- // Return the ie7/ie8 login matching |info|.
- bool GetIE7Login(const IE7PasswordInfo& info, IE7PasswordInfo* result);
-
// Loads the complete list of password forms into the specified vector |forms|
// if include_blacklisted is true, otherwise only loads those which are
// actually autofillable; i.e haven't been blacklisted by the user selecting
@@ -205,7 +209,7 @@
int transaction_nesting_;
MetaTableHelper meta_table_;
- DISALLOW_EVIL_CONSTRUCTORS(WebDatabase);
+ DISALLOW_COPY_AND_ASSIGN(WebDatabase);
};
#endif // CHROME_BROWSER_WEBDATA_WEB_DATABASE_H__
« no previous file with comments | « chrome/browser/webdata/web_data_service.h ('k') | chrome/browser/webdata/web_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698