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

Issue 1023673011: [Extensions] Fix report abuse field trial crash (Closed)

Created:
5 years, 9 months ago by Devlin
Modified:
5 years, 8 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Extensions] Fix report abuse field trial crash Field trials can only be initialized once, so the FactoryGet() method cannot be called each time to check the value of the trial. BUG=470278 Committed: https://crrev.com/47e60f2d7430c3710daea8526dca88756fd111e1 Cr-Commit-Position: refs/heads/master@{#322212}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -11 lines) Patch
M chrome/browser/extensions/extension_uninstall_dialog.cc View 1 chunk +17 lines, -11 lines 1 comment Download

Messages

Total messages: 11 (3 generated)
Devlin
5 years, 9 months ago (2015-03-25 16:18:36 UTC) #2
Marijn Kruisselbrink
lgtm
5 years, 9 months ago (2015-03-25 16:45:25 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1023673011/1
5 years, 9 months ago (2015-03-25 16:46:12 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 9 months ago (2015-03-25 19:48:33 UTC) #6
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/47e60f2d7430c3710daea8526dca88756fd111e1 Cr-Commit-Position: refs/heads/master@{#322212}
5 years, 9 months ago (2015-03-25 19:49:25 UTC) #7
Alexei Svitkine (slow)
https://codereview.chromium.org/1023673011/diff/1/chrome/browser/extensions/extension_uninstall_dialog.cc File chrome/browser/extensions/extension_uninstall_dialog.cc (right): https://codereview.chromium.org/1023673011/diff/1/chrome/browser/extensions/extension_uninstall_dialog.cc#newcode138 chrome/browser/extensions/extension_uninstall_dialog.cc:138: // TODO(devlin): Turn on this field trial. See crbug.com/441377. ...
5 years, 8 months ago (2015-03-31 20:50:53 UTC) #9
Devlin
On 2015/03/31 20:50:53, Alexei Svitkine wrote: > https://codereview.chromium.org/1023673011/diff/1/chrome/browser/extensions/extension_uninstall_dialog.cc > File chrome/browser/extensions/extension_uninstall_dialog.cc (right): > > https://codereview.chromium.org/1023673011/diff/1/chrome/browser/extensions/extension_uninstall_dialog.cc#newcode138 ...
5 years, 8 months ago (2015-03-31 21:02:43 UTC) #10
Alexei Svitkine (slow)
5 years, 8 months ago (2015-03-31 21:04:19 UTC) #11
Message was sent while issue was closed.
Great, thanks!

On Tue, Mar 31, 2015 at 5:02 PM, <rdevlin.cronin@chromium.org> wrote:

> On 2015/03/31 20:50:53, Alexei Svitkine wrote:
>
> https://codereview.chromium.org/1023673011/diff/1/chrome/
> browser/extensions/extension_uninstall_dialog.cc
>
>> File chrome/browser/extensions/extension_uninstall_dialog.cc (right):
>>
>
>
> https://codereview.chromium.org/1023673011/diff/1/chrome/
> browser/extensions/extension_uninstall_dialog.cc#newcode138
>
>> chrome/browser/extensions/extension_uninstall_dialog.cc:138: //
>> TODO(devlin):
>> Turn on this field trial. See crbug.com/441377.
>> The client-side API to create a field trial, like you're doing here is
>> discouraged.
>>
>
>  It's best to control the trial from the server-side, in which case you
>> don't
>> need this whole block.
>>
>
>  Happy to answer any question on how to do this.
>>
>
> Heard the same from Ilya after this landed, and changed it to be
> appropriate in
> https://codereview.chromium.org/1024493003/. :)
>
> https://codereview.chromium.org/1023673011/
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698