Chromium Code Reviews| 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(); |