|
Refactoring the master_preferences functions.
* Now there's a class named MasterPreferences that owns
the json dictionary and supports methods that previously
were global.
* There's now a global object for the current process'
master preference object, which avoids parsing the
preference file multiple times.
* Refactored the tests to be more data driven
TEST=Run the installer util unit tests. Set the filter to
*MasterPref* if you only want to run the tests affected by
this change.
BUG=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=64945
Total comments: 12
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+414 lines, -488 lines) |
Patch |
 |
M |
chrome/browser/first_run/first_run.cc
|
View
|
1
2
3
|
9 chunks |
+48 lines, -41 lines |
0 comments
|
Download
|
 |
M |
chrome/installer/setup/install.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/installer/setup/install.cc
|
View
|
|
4 chunks |
+16 lines, -18 lines |
0 comments
|
Download
|
 |
M |
chrome/installer/setup/setup_main.cc
|
View
|
1
2
|
6 chunks |
+17 lines, -17 lines |
0 comments
|
Download
|
 |
M |
chrome/installer/util/install_util.h
|
View
|
1
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/installer/util/install_util.cc
|
View
|
1
|
3 chunks |
+12 lines, -18 lines |
0 comments
|
Download
|
 |
M |
chrome/installer/util/master_preferences.h
|
View
|
1
2
3
4
|
3 chunks |
+86 lines, -84 lines |
0 comments
|
Download
|
 |
M |
chrome/installer/util/master_preferences.cc
|
View
|
1
|
4 chunks |
+105 lines, -133 lines |
0 comments
|
Download
|
 |
M |
chrome/installer/util/master_preferences_dummy.cc
|
View
|
|
1 chunk |
+15 lines, -32 lines |
0 comments
|
Download
|
 |
M |
chrome/installer/util/master_preferences_unittest.cc
|
View
|
|
8 chunks |
+102 lines, -139 lines |
0 comments
|
Download
|
 |
M |
chrome/installer/util/shell_util.cc
|
View
|
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|