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

Unified Diff: chrome/browser/search_engines/util.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/search_engines/util.h
diff --git a/chrome/browser/search_engines/util.h b/chrome/browser/search_engines/util.h
index e517ba609f50bdf7afcba4fec1e4308bd198b9e4..265f1e970cd00516856674640fb7813ac9a87630 100644
--- a/chrome/browser/search_engines/util.h
+++ b/chrome/browser/search_engines/util.h
@@ -40,4 +40,13 @@ void GetSearchProvidersUsingKeywordResult(
const TemplateURL** default_search_provider,
int* new_resource_keyword_version);
+// Verifies the default search provider setting and returns the result of
+// the check and the backup default search provider.
+// |*backup_default_search_provider| can be NULL if the original setting is
+// lost.
+bool VerifyDefaultSearchProviderUsingKeywordResult(
+ const WDTypedResult& result,
+ const std::vector<TemplateURL*>& template_urls,
+ const TemplateURL** backup_default_search_provider);
+
#endif // CHROME_BROWSER_SEARCH_ENGINES_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698