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

Issue 578333003: Workaround to remove command line flag on ChromeOS. (Closed)

Created:
6 years, 3 months ago by yefimt
Modified:
6 years, 2 months ago
CC:
chromium-reviews, tfarina, browser-components-watch_chromium.org, Nikita (slow), Alexei Svitkine (slow)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Workaround to remove command line flag on ChromeOS. When bookmarks experiment is enabled existing code will add a command line flag that will allow opt-out to be shown on a chrome:flags page. On Chrome OS at time of login if they see command line flag from any experiment they restart browser. It creates delay and user will see a black screen for a couple seconds. It happens on every login, not only the first one. I talked to CrOS devs and they strongly discourage from using command line flags. So for Chrome OS only do not add flag to command line but still keep it in a flag_storage. Use flag storage when need to check if flag is set. BUG= Committed: https://crrev.com/ff0c52fb645f56ebdee15b256d73997184174257 Cr-Commit-Position: refs/heads/master@{#296504}

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -5 lines) Patch
M chrome/browser/about_flags.cc View 1 4 chunks +12 lines, -3 lines 0 comments Download
M chrome/browser/bookmarks/DEPS View 1 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/bookmarks/enhanced_bookmarks_features.h View 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/bookmarks/enhanced_bookmarks_features.cc View 1 2 chunks +13 lines, -1 line 0 comments Download

Messages

Total messages: 19 (3 generated)
yefimt
6 years, 3 months ago (2014-09-22 20:54:30 UTC) #2
sky
Your description isn't clear. I don't understand why we need this hack? What is the ...
6 years, 3 months ago (2014-09-22 21:40:03 UTC) #3
yefimt
Updated description
6 years, 3 months ago (2014-09-22 22:01:44 UTC) #4
sky
"When bookmarks experiment is enabled existing code will add a command line flag" What is ...
6 years, 3 months ago (2014-09-22 23:19:53 UTC) #5
yefimt
On 2014/09/22 23:19:53, sky wrote: > "When bookmarks experiment is enabled existing code will add ...
6 years, 3 months ago (2014-09-23 02:11:25 UTC) #6
sky
I still don't get why this is specific to enhanced bookmarks and not a general ...
6 years, 3 months ago (2014-09-23 03:04:27 UTC) #7
yefimt
Ideally yes, and I believe CrOS people are looking for a long term solution, +nkostylev@ ...
6 years, 2 months ago (2014-09-23 17:29:58 UTC) #8
sky
I would like to hear about why we can't fix this correctly now from Nikita. ...
6 years, 2 months ago (2014-09-23 22:25:56 UTC) #9
yefimt
+ asvitkine@ for finch related part
6 years, 2 months ago (2014-09-24 16:49:30 UTC) #10
Alexei Svitkine (slow)
I had a chat with Yefim and after understanding the issue, I don't think it ...
6 years, 2 months ago (2014-09-24 16:55:05 UTC) #12
sky
https://codereview.chromium.org/578333003/diff/1/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/578333003/diff/1/chrome/browser/about_flags.cc#newcode2374 chrome/browser/about_flags.cc:2374: if (experiment_name == "manual-enhanced-bookmarks") { nit: no {} And ...
6 years, 2 months ago (2014-09-24 17:22:10 UTC) #13
yefimt
https://codereview.chromium.org/578333003/diff/1/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/578333003/diff/1/chrome/browser/about_flags.cc#newcode2374 chrome/browser/about_flags.cc:2374: if (experiment_name == "manual-enhanced-bookmarks") { On 2014/09/24 17:22:09, sky ...
6 years, 2 months ago (2014-09-24 18:46:12 UTC) #14
sky
LGTM
6 years, 2 months ago (2014-09-24 19:52:53 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/578333003/20001
6 years, 2 months ago (2014-09-24 19:54:15 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001) as f117f6b0b7bac3887199088c45f56b0d324d6b34
6 years, 2 months ago (2014-09-24 20:20:00 UTC) #18
commit-bot: I haz the power
6 years, 2 months ago (2014-09-24 20:20:42 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ff0c52fb645f56ebdee15b256d73997184174257
Cr-Commit-Position: refs/heads/master@{#296504}

Powered by Google App Engine
This is Rietveld 408576698