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

Issue 12220004: Introduce dynamic ablation of AutocompleteProviders using AC dynamic trials. (Closed)

Created:
7 years, 10 months ago by Bart N.
Modified:
7 years, 10 months ago
Reviewers:
Peter Kasting, Mark P, sky
CC:
chromium-reviews, James Su
Visibility:
Public.

Description

Introduce dynamic ablation of AutocompleteProviders using AC dynamic trials. The idea is simple. Use Autocomplete dynamic field trial group names to indicate which providers should be disabled. This information, due to limitations in field trial design, is passed in the group name in a string form of "DisabledProviders_<bitmask>". For instance, in order to run a SHORTCUTS ablation, one need to create a field trial with a group name that contains "DisabledProviders_512" (1<<9). BUG=174694 TBR=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182018

Patch Set 1 #

Patch Set 2 : Cleanup + unit tests. #

Patch Set 3 : #

Total comments: 14

Patch Set 4 : #

Total comments: 5

Patch Set 5 : #

Patch Set 6 : Rebase. #

Patch Set 7 : Remove unused variable. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -5 lines) Patch
M chrome/browser/autocomplete/autocomplete_controller.cc View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_field_trial.h View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_field_trial.cc View 1 2 3 4 5 4 chunks +39 lines, -5 lines 0 comments Download
A chrome/browser/autocomplete/autocomplete_field_trial_unittest.cc View 1 2 3 4 5 6 1 chunk +88 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
Bart N.
Mark, as discussed offline, this is ready for review.
7 years, 10 months ago (2013-02-06 02:11:34 UTC) #1
Peter Kasting
Is there a bug for this? The use of numbers to encode providers seems unfortunate. ...
7 years, 10 months ago (2013-02-06 02:16:37 UTC) #2
Bart N.
On 2013/02/06 02:16:37, Peter Kasting wrote: > Is there a bug for this? No external ...
7 years, 10 months ago (2013-02-06 02:39:43 UTC) #3
Peter Kasting
OK, if this is temporary, I guess I don't care as much.
7 years, 10 months ago (2013-02-06 18:53:49 UTC) #4
Peter Kasting
On 2013/02/06 02:39:43, Bart N. wrote: > On 2013/02/06 02:16:37, Peter Kasting wrote: > > ...
7 years, 10 months ago (2013-02-06 18:54:41 UTC) #5
Bart N.
On 2013/02/06 18:54:41, Peter Kasting wrote: > On 2013/02/06 02:39:43, Bart N. wrote: > > ...
7 years, 10 months ago (2013-02-06 19:28:34 UTC) #6
Bart N.
Friendly ping? I'm not sure who is going to review this, Mark or Peter?
7 years, 10 months ago (2013-02-11 17:53:10 UTC) #7
Peter Kasting
On 2013/02/11 17:53:10, Bart N. wrote: > Friendly ping? I'm not sure who is going ...
7 years, 10 months ago (2013-02-11 20:03:00 UTC) #8
Bart N.
On 2013/02/11 20:03:00, Peter Kasting wrote: > On 2013/02/11 17:53:10, Bart N. wrote: > > ...
7 years, 10 months ago (2013-02-11 20:08:35 UTC) #9
Peter Kasting
Yeah, you're good to go.
7 years, 10 months ago (2013-02-11 20:30:22 UTC) #10
Mark P
Generally fine. I'm worried about the unit_test corrupting the global field trial state and messing ...
7 years, 10 months ago (2013-02-11 21:13:34 UTC) #11
Bart N.
https://codereview.chromium.org/12220004/diff/12001/chrome/browser/autocomplete/autocomplete_field_trial.cc File chrome/browser/autocomplete/autocomplete_field_trial.cc (right): https://codereview.chromium.org/12220004/diff/12001/chrome/browser/autocomplete/autocomplete_field_trial.cc#newcode131 chrome/browser/autocomplete/autocomplete_field_trial.cc:131: std::string DynamicFieldTrialName(int id) { On 2013/02/11 21:13:34, Mark P ...
7 years, 10 months ago (2013-02-11 21:42:12 UTC) #12
Bart N.
> I'm worried about the unit_test corrupting the global field trial state and > messing ...
7 years, 10 months ago (2013-02-11 21:44:13 UTC) #13
Mark P
On 2013/02/11 21:44:13, Bart N. wrote: > > I'm worried about the unit_test corrupting the ...
7 years, 10 months ago (2013-02-11 22:04:12 UTC) #14
Mark P
https://codereview.chromium.org/12220004/diff/12001/chrome/browser/autocomplete/autocomplete_field_trial.cc File chrome/browser/autocomplete/autocomplete_field_trial.cc (right): https://codereview.chromium.org/12220004/diff/12001/chrome/browser/autocomplete/autocomplete_field_trial.cc#newcode271 chrome/browser/autocomplete/autocomplete_field_trial.cc:271: int types = 0; On 2013/02/11 21:42:12, Bart N. ...
7 years, 10 months ago (2013-02-11 22:04:18 UTC) #15
Mark P
lgtm Generally fine, pending resolution of comments on chat. Glad to hear that this fieldtriallist ...
7 years, 10 months ago (2013-02-11 22:39:46 UTC) #16
Mark P
In case it's not obvious from my last message, feel free to submit after you ...
7 years, 10 months ago (2013-02-12 00:17:22 UTC) #17
Bart N.
On 2013/02/12 00:17:22, Mark P wrote: > In case it's not obvious from my last ...
7 years, 10 months ago (2013-02-12 00:23:44 UTC) #18
Bart N.
+sky for chrome/chrome_tests_unit.gypi (meanwhile I'm addressing last set of comments).
7 years, 10 months ago (2013-02-12 00:33:06 UTC) #19
Bart N.
Mark, thanks for your feedback. As we discussed offline, I addressed the outstanding issues. https://codereview.chromium.org/12220004/diff/12001/chrome/browser/autocomplete/autocomplete_field_trial.cc ...
7 years, 10 months ago (2013-02-12 01:18:19 UTC) #20
sky
-sky If you added me for the .gypi, you can TBR it.
7 years, 10 months ago (2013-02-12 03:17:10 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartn@chromium.org/12220004/21006
7 years, 10 months ago (2013-02-12 06:35:02 UTC) #22
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 10 months ago (2013-02-12 07:15:39 UTC) #23
Mark P
7 years, 10 months ago (2013-02-12 17:53:17 UTC) #24
Mark P
https://chromiumcodereview.appspot.com/12220004/diff/10002/chrome/browser/autocomplete/autocomplete_field_trial_unittest.cc File chrome/browser/autocomplete/autocomplete_field_trial_unittest.cc (right): https://chromiumcodereview.appspot.com/12220004/diff/10002/chrome/browser/autocomplete/autocomplete_field_trial_unittest.cc#newcode50 chrome/browser/autocomplete/autocomplete_field_trial_unittest.cc:50: // as it goes. On 2013/02/12 01:18:19, Bart N. ...
7 years, 10 months ago (2013-02-12 17:53:31 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartn@chromium.org/12220004/21006
7 years, 10 months ago (2013-02-12 17:55:18 UTC) #26
Bart N.
On 2013/02/12 17:55:18, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
7 years, 10 months ago (2013-02-12 18:01:20 UTC) #27
Bart N.
On 2013/02/12 18:01:20, Bart N. wrote: > On 2013/02/12 17:55:18, I haz the power (commit-bot) ...
7 years, 10 months ago (2013-02-12 18:41:58 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartn@chromium.org/12220004/7
7 years, 10 months ago (2013-02-12 18:44:11 UTC) #29
commit-bot: I haz the power
7 years, 10 months ago (2013-02-12 21:25:24 UTC) #30
Message was sent while issue was closed.
Change committed as 182018

Powered by Google App Engine
This is Rietveld 408576698