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

Issue 1017913002: Force Enhanced Bookmark to be enabled if command line flags are set true (Closed)

Created:
5 years, 9 months ago by Ian Wen
Modified:
5 years, 9 months ago
CC:
chromium-reviews, tfarina, noyau+watch_chromium.org, browser-components-watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Force Enhanced Bookmark to be enabled if command line flags are set true kEnhancedBookmarksExperiment is used by android intrumentation tests to force enhanced bookmark feature to be enabled. https://codereview.chromium.org/1009673002 introduced a regression that the even if the flag is set to be true, it does not take effect. This CL fixes it. BUG=468106 Committed: https://crrev.com/47c18b773aa75bdae2f4b39750534119bc3055ab Cr-Commit-Position: refs/heads/master@{#321429}

Patch Set 1 #

Patch Set 2 : Update owner, refine opt-out logic. #

Patch Set 3 : #

Total comments: 13

Patch Set 4 : Move all android specific code to the android only function #

Patch Set 5 : Did a further refactoring and created a universal isEnhancedBookmarkEnabled method #

Total comments: 2

Patch Set 6 : Move GetBookmarksExperimentExtensionId to cc file #

Patch Set 7 : Clean up includes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -28 lines) Patch
M chrome/browser/bookmarks/OWNERS View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/bookmarks/enhanced_bookmarks_features.h View 1 2 3 4 5 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/bookmarks/enhanced_bookmarks_features.cc View 1 2 3 4 5 6 3 chunks +25 lines, -22 lines 0 comments Download
M chrome/browser/extensions/external_component_loader.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 26 (8 generated)
Ian Wen
5 years, 9 months ago (2015-03-17 23:24:48 UTC) #2
Mike Wittman
lgtm
5 years, 9 months ago (2015-03-17 23:26:23 UTC) #3
Ian Wen
Hi sky@, could you please take a look? Also, maybe we can make danduong@ or ...
5 years, 9 months ago (2015-03-17 23:31:39 UTC) #5
sky
LGTM I'm fine with updating owners too
5 years, 9 months ago (2015-03-18 00:01:50 UTC) #6
noyau (Ping after 24h)
https://codereview.chromium.org/1017913002/diff/40001/chrome/browser/bookmarks/enhanced_bookmarks_features.cc File chrome/browser/bookmarks/enhanced_bookmarks_features.cc (right): https://codereview.chromium.org/1017913002/diff/40001/chrome/browser/bookmarks/enhanced_bookmarks_features.cc#newcode80 chrome/browser/bookmarks/enhanced_bookmarks_features.cc:80: base::android::SdkVersion::SDK_VERSION_ICE_CREAM_SANDWICH_MR1; Unless I misunderstand this will skew the finch ...
5 years, 9 months ago (2015-03-18 13:32:14 UTC) #8
Ted C
https://codereview.chromium.org/1017913002/diff/40001/chrome/browser/bookmarks/enhanced_bookmarks_features.cc File chrome/browser/bookmarks/enhanced_bookmarks_features.cc (right): https://codereview.chromium.org/1017913002/diff/40001/chrome/browser/bookmarks/enhanced_bookmarks_features.cc#newcode73 chrome/browser/bookmarks/enhanced_bookmarks_features.cc:73: #if defined(OS_ANDROID) Unless I'm reading this wrong, this is ...
5 years, 9 months ago (2015-03-18 15:42:00 UTC) #10
danduong
https://codereview.chromium.org/1017913002/diff/40001/chrome/browser/bookmarks/enhanced_bookmarks_features.cc File chrome/browser/bookmarks/enhanced_bookmarks_features.cc (left): https://codereview.chromium.org/1017913002/diff/40001/chrome/browser/bookmarks/enhanced_bookmarks_features.cc#oldcode47 chrome/browser/bookmarks/enhanced_bookmarks_features.cc:47: This might still be needed for non-Android https://codereview.chromium.org/1017913002/diff/40001/chrome/browser/bookmarks/enhanced_bookmarks_features.cc File ...
5 years, 9 months ago (2015-03-18 17:51:41 UTC) #11
Mike Wittman
https://codereview.chromium.org/1017913002/diff/40001/chrome/browser/bookmarks/enhanced_bookmarks_features.cc File chrome/browser/bookmarks/enhanced_bookmarks_features.cc (left): https://codereview.chromium.org/1017913002/diff/40001/chrome/browser/bookmarks/enhanced_bookmarks_features.cc#oldcode47 chrome/browser/bookmarks/enhanced_bookmarks_features.cc:47: On 2015/03/18 17:51:41, danduong wrote: > This might still ...
5 years, 9 months ago (2015-03-18 18:10:19 UTC) #12
Ian Wen
https://codereview.chromium.org/1017913002/diff/40001/chrome/browser/bookmarks/enhanced_bookmarks_features.cc File chrome/browser/bookmarks/enhanced_bookmarks_features.cc (left): https://codereview.chromium.org/1017913002/diff/40001/chrome/browser/bookmarks/enhanced_bookmarks_features.cc#oldcode47 chrome/browser/bookmarks/enhanced_bookmarks_features.cc:47: On 2015/03/18 18:10:19, Mike Wittman wrote: > On 2015/03/18 ...
5 years, 9 months ago (2015-03-18 18:45:55 UTC) #13
noyau (Ping after 24h)
https://codereview.chromium.org/1017913002/diff/40001/chrome/browser/bookmarks/enhanced_bookmarks_features.cc File chrome/browser/bookmarks/enhanced_bookmarks_features.cc (right): https://codereview.chromium.org/1017913002/diff/40001/chrome/browser/bookmarks/enhanced_bookmarks_features.cc#newcode40 chrome/browser/bookmarks/enhanced_bookmarks_features.cc:40: #if defined(OS_ANDROID) On 2015/03/18 17:51:41, danduong wrote: > Shouldn't ...
5 years, 9 months ago (2015-03-18 23:21:59 UTC) #14
danduong
https://codereview.chromium.org/1017913002/diff/40001/chrome/browser/bookmarks/enhanced_bookmarks_features.cc File chrome/browser/bookmarks/enhanced_bookmarks_features.cc (right): https://codereview.chromium.org/1017913002/diff/40001/chrome/browser/bookmarks/enhanced_bookmarks_features.cc#newcode40 chrome/browser/bookmarks/enhanced_bookmarks_features.cc:40: #if defined(OS_ANDROID) Thanks for the clarification. I didn't realize ...
5 years, 9 months ago (2015-03-18 23:28:56 UTC) #15
noyau (Ping after 24h)
https://codereview.chromium.org/1017913002/diff/40001/chrome/browser/bookmarks/enhanced_bookmarks_features.cc File chrome/browser/bookmarks/enhanced_bookmarks_features.cc (right): https://codereview.chromium.org/1017913002/diff/40001/chrome/browser/bookmarks/enhanced_bookmarks_features.cc#newcode40 chrome/browser/bookmarks/enhanced_bookmarks_features.cc:40: #if defined(OS_ANDROID) On 2015/03/18 23:28:56, danduong wrote: > Thanks ...
5 years, 9 months ago (2015-03-19 12:22:26 UTC) #16
danduong
lgtm https://codereview.chromium.org/1017913002/diff/80001/chrome/browser/bookmarks/enhanced_bookmarks_features.cc File chrome/browser/bookmarks/enhanced_bookmarks_features.cc (right): https://codereview.chromium.org/1017913002/diff/80001/chrome/browser/bookmarks/enhanced_bookmarks_features.cc#newcode23 chrome/browser/bookmarks/enhanced_bookmarks_features.cc:23: #include "extensions/common/features/feature_provider.h" can you clean up the includes ...
5 years, 9 months ago (2015-03-19 18:51:18 UTC) #17
Mike Wittman
https://codereview.chromium.org/1017913002/diff/80001/chrome/browser/bookmarks/enhanced_bookmarks_features.h File chrome/browser/bookmarks/enhanced_bookmarks_features.h (right): https://codereview.chromium.org/1017913002/diff/80001/chrome/browser/bookmarks/enhanced_bookmarks_features.h#newcode16 chrome/browser/bookmarks/enhanced_bookmarks_features.h:16: bool GetBookmarksExperimentExtensionID(std::string* extension_id); this function can move inside the ...
5 years, 9 months ago (2015-03-19 18:56:35 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1017913002/120001
5 years, 9 months ago (2015-03-19 20:16:58 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1017913002/120001
5 years, 9 months ago (2015-03-19 20:18:09 UTC) #24
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 9 months ago (2015-03-19 21:03:57 UTC) #25
commit-bot: I haz the power
5 years, 9 months ago (2015-03-19 21:04:29 UTC) #26
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/47c18b773aa75bdae2f4b39750534119bc3055ab
Cr-Commit-Position: refs/heads/master@{#321429}

Powered by Google App Engine
This is Rietveld 408576698