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

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

Issue 7558014: Add a URL param to indicate group selection in Instant field trial. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed @pkasting's comments Created 9 years, 4 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
« no previous file with comments | « chrome/browser/search_engines/template_url.cc ('k') | chrome/browser/ui/browser_init.cc » ('j') | 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.cc
diff --git a/chrome/browser/search_engines/template_url_prepopulate_data.cc b/chrome/browser/search_engines/template_url_prepopulate_data.cc
index e4b34bd8e6f2d1dc985f9be09264ca60f5e95f94..56cb77aaf5de0fb200b9c7b1ecd9783cbedb65f0 100644
--- a/chrome/browser/search_engines/template_url_prepopulate_data.cc
+++ b/chrome/browser/search_engines/template_url_prepopulate_data.cc
@@ -1182,12 +1182,15 @@ const PrepopulatedEngine google = {
"http://www.google.com/favicon.ico",
L"{google:baseURL}search?{google:RLZ}{google:acceptedSuggestion}"
L"{google:originalQueryForSuggestion}{google:searchFieldtrialParameter}"
+ L"{google:instantFieldTrialGroupParameter}"
L"sourceid=chrome&ie={inputEncoding}&q={searchTerms}",
"UTF-8",
L"{google:baseSuggestURL}search?{google:searchFieldtrialParameter}"
+ L"{google:instantFieldTrialGroupParameter}"
L"client=chrome&hl={language}&q={searchTerms}",
- L"{google:baseURL}webhp?{google:RLZ}sourceid=chrome-instant"
- L"&ie={inputEncoding}&ion=1{searchTerms}&nord=1",
+ L"{google:baseURL}webhp?{google:RLZ}sourceid=chrome-instant&"
+ L"{google:instantFieldTrialGroupParameter}"
+ L"ie={inputEncoding}&ion=1{searchTerms}&nord=1",
SEARCH_ENGINE_GOOGLE,
IDR_SEARCH_ENGINE_LOGO_GOOGLE,
1,
@@ -3359,7 +3362,7 @@ void RegisterUserPrefs(PrefService* prefs) {
int GetDataVersion(PrefService* prefs) {
// Increment this if you change the above data in ways that mean users with
// existing data should get a new version.
- const int kCurrentDataVersion = 35;
+ const int kCurrentDataVersion = 36;
if (!prefs)
return kCurrentDataVersion;
// If a version number exist in the preferences file, it overrides the
« no previous file with comments | « chrome/browser/search_engines/template_url.cc ('k') | chrome/browser/ui/browser_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698