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

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

Issue 2974001: Allow the default search providers to be specified by the preferences files,... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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/template_url_prepopulate_data.h
===================================================================
--- chrome/browser/search_engines/template_url_prepopulate_data.h (revision 52156)
+++ chrome/browser/search_engines/template_url_prepopulate_data.h (working copy)
@@ -32,8 +32,9 @@
void RegisterUserPrefs(PrefService* prefs);
// Returns the current version of the prepopulate data, so callers can know when
-// they need to re-merge.
-int GetDataVersion();
+// they need to re-merge. If the prepopulate data comes from the preferences
+// file then it returns the version specified there.
+int GetDataVersion(PrefService* prefs);
// Loads the set of TemplateURLs from the prepopulate data. Ownership of the
// TemplateURLs is passed to the caller. On return,
« no previous file with comments | « chrome/browser/search_engines/template_url_model.cc ('k') | chrome/browser/search_engines/template_url_prepopulate_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698