|
Extract a base class from CommandLinePrefStore
Currently, CommandLinePrefStore (1) holds all the {switches,
preferences} maps in chrome, (2) applys the command line switches to
their corresponding preferences for the maps it holds.
This CL extracts the logic of applying simple command line switches to the
corresponding preferences in a base class, and rename the class in
chrome/ to ChromeCommandLinePrefStore. So that
ChromeCommandLinePrefStore will call the Apply*Switches methods in its
base class instead.
We made this change because we want to be able to delegate handling
Blimp command line switch to /blimp.
BUG= 647848
Committed: https://crrev.com/f00ece607fb01269e3f7015bbd3f0ae22a94470b
Cr-Commit-Position: refs/heads/master@{#425713}
Total comments: 10
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+276 lines, -897 lines) |
Patch |
 |
M |
chrome/browser/BUILD.gn
|
View
|
1
2
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chrome_browser_main.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/prefs/chrome_command_line_pref_store.h
|
View
|
1
|
1 chunk |
+53 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/prefs/chrome_command_line_pref_store.cc
|
View
|
|
8 chunks |
+35 lines, -78 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/prefs/chrome_command_line_pref_store_proxy_unittest.cc
|
View
|
|
5 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/prefs/chrome_command_line_pref_store_ssl_manager_unittest.cc
|
View
|
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/prefs/chrome_command_line_pref_store_unittest.cc
|
View
|
|
9 chunks |
+14 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/prefs/chrome_pref_service_factory.cc
|
View
|
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/prefs/chrome_pref_service_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/prefs/command_line_pref_store.h
|
View
|
|
1 chunk |
+0 lines, -77 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/prefs/command_line_pref_store.cc
|
View
|
|
1 chunk |
+0 lines, -207 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/prefs/command_line_pref_store_proxy_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -196 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/prefs/command_line_pref_store_ssl_manager_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -79 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/prefs/command_line_pref_store_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -223 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/prefs/proxy_policy_unittest.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/test/BUILD.gn
|
View
|
1
2
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/prefs/BUILD.gn
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/prefs/command_line_pref_store.h
|
View
|
1
2
|
1 chunk |
+66 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/prefs/command_line_pref_store.cc
|
View
|
1
|
1 chunk |
+80 lines, -0 lines |
0 comments
|
Download
|
Total messages: 26 (16 generated)
|