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

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

Issue 8342049: Added Protector, hooked up DSE verification with error bubble. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved check to Protector, work with search engines via TemplateURLService Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/webdata/keyword_table.h
diff --git a/chrome/browser/webdata/keyword_table.h b/chrome/browser/webdata/keyword_table.h
index 3efce6358d429dbb3e50ba9b4e7f1b76f6238a3a..25a64719270fa116ee195235373201ecf8ea4e45 100644
--- a/chrome/browser/webdata/keyword_table.h
+++ b/chrome/browser/webdata/keyword_table.h
@@ -9,6 +9,7 @@
#include <vector>
#include "base/gtest_prod_util.h"
+#include "base/string16.h"
#include "chrome/browser/webdata/web_database_table.h"
#include "chrome/browser/search_engines/template_url_id.h"
@@ -82,6 +83,12 @@ class KeywordTable : public WebDatabaseTable {
bool SetDefaultSearchProviderID(int64 id);
int64 GetDefaultSearchProviderID();
+ // Backup of the default search provider. 0 if the setting can't be verified.
+ int64 GetDefaultSearchProviderIDBackup();
+
+ // Returns true if the default search provider ID is verified.
+ bool IsDefaultSearchProviderIDVerified();
sky 2011/10/21 17:20:30 This name is a bit confusing. How about: DidDefaul
whywhat 2011/10/21 20:31:53 Done.
+
// Version of the built-in keywords.
bool SetBuiltinKeywordVersion(int version);
int GetBuiltinKeywordVersion();

Powered by Google App Engine
This is Rietveld 408576698