|
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}
Total comments: 2
|
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
|
Total messages: 19 (5 generated)
|