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

Unified Diff: chrome/browser/search_engines/template_url_prepopulate_data.h

Issue 8704007: Protector adds the default prepopulated engine if it was removed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 9 years 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
« no previous file with comments | « chrome/browser/protector/histograms.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search_engines/template_url_prepopulate_data.h
diff --git a/chrome/browser/search_engines/template_url_prepopulate_data.h b/chrome/browser/search_engines/template_url_prepopulate_data.h
index 9f141600e992d2b4de762d2c5ca998b19c58c612..80a5001fbf3f5e9c71b911ffe2f2d16e58225e19 100644
--- a/chrome/browser/search_engines/template_url_prepopulate_data.h
+++ b/chrome/browser/search_engines/template_url_prepopulate_data.h
@@ -35,6 +35,7 @@ void GetPrepopulatedEngines(PrefService* prefs,
// Returns the default search provider specified by the prepopulate data.
// The caller owns the returned value, which may be NULL.
+// If |prefs| is NULL, search provider overrides from preferences are not used.
TemplateURL* GetPrepopulatedDefaultSearch(PrefService* prefs);
// Returns a TemplateURL from the prepopulated data which has the same origin
« no previous file with comments | « chrome/browser/protector/histograms.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698