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

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 WebDataService initialization. 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..f37368b5e18a27ef2053ae9830e53c2cc7465208 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"
@@ -78,10 +79,19 @@ class KeywordTable : public WebDatabaseTable {
// Returns true on success.
bool UpdateKeyword(const TemplateURL& url);
+ // Returns short name of url with specified id.
+ string16 GetKeywordShortName(int64 id);
sky 2011/10/20 23:57:31 Don't add this either. Get all the TemplateURLs an
whywhat 2011/10/21 16:48:18 Done.
+
// ID (TemplateURL->id) of the default search provider.
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();
+
// Version of the built-in keywords.
bool SetBuiltinKeywordVersion(int version);
int GetBuiltinKeywordVersion();

Powered by Google App Engine
This is Rietveld 408576698