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

Issue 7583012: Restrict Instant field trial to UMA opt-in users. (Closed)

Created:
9 years, 4 months ago by sreeram
Modified:
9 years, 4 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Restrict Instant field trial to UMA opt-in users. Note that if the Instant experiment has already been enabled, and *then* the user opts out of UMA, this won't disable the experiment immediately (since the global field trial state doesn't change). Instead, it will be disabled at browser restart. I think this is acceptable since, if the user is fiddling with preferences after Instant has been enabled, they can already click the Instant checkbox to turn it off. In addition: + Fix a typo in the "Omnibox.QueryTime.*" histogram. + Update the comment in the .h file so it flows better. BUG=91820 TEST=Disable UMA reporting (as is default in a Chromium build), and verify that the Instant experiment doesn't get enabled. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96057

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed @sky's comments #

Total comments: 5

Patch Set 3 : Addressed @jar's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -28 lines) Patch
M chrome/browser/autocomplete/autocomplete.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/instant/instant_controller.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/instant/instant_field_trial.h View 1 3 chunks +8 lines, -9 lines 0 comments Download
M chrome/browser/instant/instant_field_trial.cc View 1 2 2 chunks +33 lines, -10 lines 0 comments Download
M chrome/common/pref_names.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/pref_names.cc View 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
sreeram
Please review. @sky seems to be offline, and this is release blocking (urgent request from ...
9 years, 4 months ago (2011-08-05 20:30:49 UTC) #1
brettw
Please list who you want to review what. For now, I'm going to assume I ...
9 years, 4 months ago (2011-08-05 23:23:43 UTC) #2
sreeram
-brettw
9 years, 4 months ago (2011-08-06 05:50:50 UTC) #3
sky
Which call ends up failing if the user didn't opt into UMA? This LGTM, but ...
9 years, 4 months ago (2011-08-08 16:10:53 UTC) #4
sreeram
On 2011/08/08 16:10:53, sky wrote: > Which call ends up failing if the user didn't ...
9 years, 4 months ago (2011-08-08 16:30:10 UTC) #5
jar (doing other things)
I'm fine with your "not disabling the experiment immediately." When a use opts out of ...
9 years, 4 months ago (2011-08-08 22:28:29 UTC) #6
sreeram
http://codereview.chromium.org/7583012/diff/3001/chrome/browser/instant/instant_field_trial.cc File chrome/browser/instant/instant_field_trial.cc (right): http://codereview.chromium.org/7583012/diff/3001/chrome/browser/instant/instant_field_trial.cc#newcode16 chrome/browser/instant/instant_field_trial.cc:16: int kControlGroupId1 = 0; On 2011/08/08 22:28:29, jar wrote: ...
9 years, 4 months ago (2011-08-08 22:42:23 UTC) #7
jar (doing other things)
LGTM http://codereview.chromium.org/7583012/diff/3001/chrome/browser/instant/instant_field_trial.cc File chrome/browser/instant/instant_field_trial.cc (right): http://codereview.chromium.org/7583012/diff/3001/chrome/browser/instant/instant_field_trial.cc#newcode35 chrome/browser/instant/instant_field_trial.cc:35: kExperimentGroupId1 = trial->AppendGroup("InstantExperiment1", 500); // 5% On 2011/08/08 ...
9 years, 4 months ago (2011-08-09 16:34:27 UTC) #8
commit-bot: I haz the power
9 years, 4 months ago (2011-08-09 20:40:11 UTC) #9
Change committed as 96057

Powered by Google App Engine
This is Rietveld 408576698