|
Componentize internal class FlagsState in flags_ui component.
Move FlagsState class definition to components/flags_ui so that it can
be shared with iOS but leave the global FeatureEntry list definition
in the embedder.
Slightly change FlagsState interface to take the name of embedder
specific switches (switches::kEnableFeatures, ...) and use dummy values
for unit testing.
Split the unit tests moving all those that have no dependency on the
global FeatureEntry to flags_state_unittest.cc. Remove helper testing
function that are no longer useful (overridding global state).
BUG= 551954
Committed: https://crrev.com/0e56634f4731afdbec1dbbd0a230c5a27f0296ec
Cr-Commit-Position: refs/heads/master@{#361295}
Total comments: 4
Total comments: 20
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1687 lines, -1403 lines) |
Patch |
|
M |
chrome/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/about_flags.h
|
View
|
|
5 chunks |
+4 lines, -27 lines |
0 comments
|
Download
|
|
M |
chrome/browser/about_flags.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
6 chunks |
+50 lines, -716 lines |
0 comments
|
Download
|
|
M |
chrome/browser/about_flags_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+13 lines, -637 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chrome_browser_main.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/session/user_session_manager.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/settings/owner_flags_storage.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/webui/flags_ui.cc
|
View
|
|
8 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_common.gypi
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_exe.gypi
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/DEPS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/chrome_switches.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/common/chrome_switches.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/common/crash_keys.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/test/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
components/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
components/components_tests.gyp
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
components/flags_ui.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+44 lines, -1 line |
0 comments
|
Download
|
|
M |
components/flags_ui/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+29 lines, -0 lines |
0 comments
|
Download
|
|
A |
components/flags_ui/flags_state.h
|
View
|
1
2
3
4
5
|
1 chunk |
+160 lines, -0 lines |
0 comments
|
Download
|
|
A |
components/flags_ui/flags_state.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+632 lines, -0 lines |
0 comments
|
Download
|
|
A |
components/flags_ui/flags_state_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+695 lines, -0 lines |
0 comments
|
Download
|
|
A |
components/flags_ui/flags_ui_switches.h
|
View
|
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
A |
components/flags_ui/flags_ui_switches.cc
|
View
|
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
M |
components/flags_ui_strings.grdp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 33 (9 generated)
|