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

Issue 1253953002: Componentize enhanced_bookmark_features.{h,cc}. (Closed)

Created:
5 years, 5 months ago by sdefresne
Modified:
5 years, 4 months ago
CC:
blundell+watchlist_chromium.org, browser-components-watch_chromium.org, chromium-reviews, droger+watchlist_chromium.org, maniscalco+watch_chromium.org, maxbogue+watch_chromium.org, noyau+watch_chromium.org, plaree+watch_chromium.org, pvalenzuela+watch_chromium.org, sdefresne+watchlist_chromium.org, sdefresne+watch_chromium.org, tfarina, tim+watch_chromium.org, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Componentize enhanced_bookmark_features.{h,cc}. Enhanced bookmarks and the DOM distiller are (or will be) used on iOS and android. Move the function checking whether the features are enabled into the respective component to allow sharing the code. Move IsEnhancedBookmarksEnabled() function to the enhanced_bookmarks component with supporting switches. Move IsEnableDomDistillerSet() and IsEnableSyncArticlesSet() functions to the dom_distiller component with supporting switches. BUG=359565 Committed: https://crrev.com/0f2ef35a2de53103f42a7ab62ccc07aa34481e41 Cr-Commit-Position: refs/heads/master@{#340526}

Patch Set 1 #

Patch Set 2 : Remove obsolete #include #

Total comments: 2

Patch Set 3 : Remove dependency on //components/{dom_distiller,enhanced_bookmarks} from //chrome/common #

Patch Set 4 : Revert change in //chrome/common/DEPS that broke checkdeps #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -159 lines) Patch
M chrome/browser/about_flags.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/bookmarks/bookmarks_bridge.cc View 1 2 3 4 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/android/chrome_startup_flags.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/bookmarks/enhanced_bookmarks_features.h View 1 chunk +0 lines, -17 lines 0 comments Download
D chrome/browser/bookmarks/enhanced_bookmarks_features.cc View 1 chunk +0 lines, -67 lines 0 comments Download
M chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc View 1 2 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/dom_distiller/profile_utils.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/dom_distiller/tab_utils_browsertest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_components_factory_impl.cc View 1 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/browser_command_controller.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/tab_helpers.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/toolbar/wrench_menu_model.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 1 2 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M components/dom_distiller.gypi View 2 chunks +4 lines, -1 line 0 comments Download
M components/dom_distiller/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M components/dom_distiller/core/BUILD.gn View 2 chunks +3 lines, -0 lines 0 comments Download
A components/dom_distiller/core/dom_distiller_features.h View 1 chunk +18 lines, -0 lines 0 comments Download
A components/dom_distiller/core/dom_distiller_features.cc View 1 chunk +42 lines, -0 lines 0 comments Download
M components/dom_distiller/core/dom_distiller_switches.h View 1 chunk +7 lines, -0 lines 0 comments Download
M components/dom_distiller/core/dom_distiller_switches.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/enhanced_bookmarks.gypi View 2 chunks +5 lines, -0 lines 0 comments Download
M components/enhanced_bookmarks/BUILD.gn View 2 chunks +5 lines, -0 lines 0 comments Download
M components/enhanced_bookmarks/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
A components/enhanced_bookmarks/enhanced_bookmark_features.h View 1 chunk +21 lines, -0 lines 0 comments Download
A + components/enhanced_bookmarks/enhanced_bookmark_features.cc View 2 chunks +8 lines, -35 lines 0 comments Download
A components/enhanced_bookmarks/enhanced_bookmark_switches.h View 1 chunk +14 lines, -0 lines 0 comments Download
A + components/enhanced_bookmarks/enhanced_bookmark_switches.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M ios/chrome/browser/experimental_flags.mm View 2 chunks +2 lines, -2 lines 0 comments Download
M ios/public/provider/chrome/browser/chrome_browser_provider.h View 1 chunk +0 lines, -2 lines 0 comments Download
M ios/public/provider/chrome/browser/chrome_browser_provider.cc View 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
sdefresne
Please each take a look at the following files noyau: - components/enhanced_bookmarks cjhopman: - components/dom_distiller ...
5 years, 5 months ago (2015-07-24 16:02:58 UTC) #3
sdefresne
noyau: please also look at - ios
5 years, 5 months ago (2015-07-24 16:03:35 UTC) #4
noyau (Ping after 24h)
lgtm (once the bug we discussed offline is fixed(
5 years, 5 months ago (2015-07-24 16:09:17 UTC) #5
sdefresne
On 2015/07/24 at 16:09:17, noyau wrote: > lgtm (once the bug we discussed offline is ...
5 years, 5 months ago (2015-07-24 16:11:20 UTC) #6
tfarina
Is this going to be used by ios? Hence this is being componentized? If yes, ...
5 years, 5 months ago (2015-07-24 18:00:45 UTC) #8
sky
https://codereview.chromium.org/1253953002/diff/40001/chrome/common/BUILD.gn File chrome/common/BUILD.gn (right): https://codereview.chromium.org/1253953002/diff/40001/chrome/common/BUILD.gn#newcode307 chrome/common/BUILD.gn:307: "//components/dom_distiller/core", This code ends up linked into the renderer. ...
5 years, 5 months ago (2015-07-24 20:26:45 UTC) #9
sdefresne
On 2015/07/24 at 18:00:45, tfarina wrote: > Is this going to be used by ios? ...
5 years, 5 months ago (2015-07-25 19:17:38 UTC) #10
sdefresne
sky: please take another look. https://codereview.chromium.org/1253953002/diff/40001/chrome/common/BUILD.gn File chrome/common/BUILD.gn (right): https://codereview.chromium.org/1253953002/diff/40001/chrome/common/BUILD.gn#newcode307 chrome/common/BUILD.gn:307: "//components/dom_distiller/core", On 2015/07/24 at ...
5 years, 5 months ago (2015-07-25 19:17:57 UTC) #11
sky
LGTM
5 years, 4 months ago (2015-07-27 15:27:43 UTC) #12
sdefresne
cjhopman: ping?
5 years, 4 months ago (2015-07-27 15:51:40 UTC) #13
cjhopman
lgtm
5 years, 4 months ago (2015-07-27 18:22:21 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1253953002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1253953002/80001
5 years, 4 months ago (2015-07-27 18:37:49 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 4 months ago (2015-07-27 19:18:07 UTC) #18
commit-bot: I haz the power
5 years, 4 months ago (2015-07-27 19:19:14 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0f2ef35a2de53103f42a7ab62ccc07aa34481e41
Cr-Commit-Position: refs/heads/master@{#340526}

Powered by Google App Engine
This is Rietveld 408576698