diff options
author | zork@google.com <zork@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-01 22:06:21 +0000 |
---|---|---|
committer | zork@google.com <zork@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-01 22:06:21 +0000 |
commit | 8b3b23abcf91b7573c6fcf230240395118c04580 (patch) | |
tree | 3c4dc9c354662a6d9ecff8443f4620fa017c7718 /chrome/browser/webdata/web_database.h | |
parent | 3950400350f7f8494f09a3568acb6d40592701f5 (diff) | |
download | chromium_src-8b3b23abcf91b7573c6fcf230240395118c04580.zip chromium_src-8b3b23abcf91b7573c6fcf230240395118c04580.tar.gz chromium_src-8b3b23abcf91b7573c6fcf230240395118c04580.tar.bz2 |
Add autofill Change Processor and Model Associator
BUG=29926
TEST=none
Review URL: http://codereview.chromium.org/628003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40304 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/webdata/web_database.h')
-rw-r--r-- | chrome/browser/webdata/web_database.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/browser/webdata/web_database.h b/chrome/browser/webdata/web_database.h index 6745503..6d1a99d 100644 --- a/chrome/browser/webdata/web_database.h +++ b/chrome/browser/webdata/web_database.h @@ -10,6 +10,7 @@ #include "app/sql/connection.h" #include "app/sql/init_status.h" #include "app/sql/meta_table.h" +#include "base/scoped_ptr.h" #include "chrome/browser/search_engines/template_url.h" #include "third_party/skia/include/core/SkBitmap.h" #include "testing/gtest/include/gtest/gtest_prod.h" @@ -20,6 +21,7 @@ class AutofillEntry; class AutoFillProfile; class CreditCard; class FilePath; +class NotificationService; class WebDatabaseTest; namespace base { @@ -204,6 +206,11 @@ class WebDatabase { // Retrieves all of the entries in the autofill table. bool GetAllAutofillEntries(std::vector<AutofillEntry>* entries); + // Retrieves a single entry from the autofill table. + bool GetAutofillTimestamps(const string16& name, + const string16& value, + std::vector<base::Time>* timestamps); + // Replaces existing autofill entries with the entries supplied in // the argument. If the entry does not already exist, it will be // added. @@ -298,6 +305,8 @@ class WebDatabase { sql::Connection db_; sql::MetaTable meta_table_; + scoped_ptr<NotificationService> notification_service_; + DISALLOW_COPY_AND_ASSIGN(WebDatabase); }; |