|
Clean up PrefServiceBuilder
* Use simple setters rather than With* methods.
* Explicitly transfer memory ownership.
* Rename "Builder" to "Factory"
* Eliminate the side-effect of resetting the builder from the Create* methods.
Along the way, fix a memory leak in the Android WebView.
BUG= 315499
TEST=none (code should continue to compile and tests should continue to pass)
R=joi@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235913
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+255 lines, -640 lines) |
Patch |
|
M |
android_webview/browser/aw_browser_context.h
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
android_webview/browser/aw_browser_context.cc
|
View
|
1
2
3
|
4 chunks |
+8 lines, -10 lines |
0 comments
|
Download
|
|
M |
android_webview/native/aw_autofill_manager_delegate.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
android_webview/native/aw_autofill_manager_delegate.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
base/base.gyp
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
base/prefs/pref_service.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
base/prefs/pref_service_builder.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -74 lines |
0 comments
|
Download
|
|
M |
base/prefs/pref_service_builder.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -110 lines |
0 comments
|
Download
|
|
A + |
base/prefs/pref_service_factory.h
|
View
|
1
2
3
4
|
3 chunks |
+42 lines, -25 lines |
0 comments
|
Download
|
|
A + |
base/prefs/pref_service_factory.cc
|
View
|
1
2
3
4
|
4 chunks |
+20 lines, -67 lines |
0 comments
|
Download
|
|
M |
base/prefs/testing_pref_service.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/browser_process_impl.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/wizard_controller_browsertest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/content_settings/content_settings_pref_provider_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extension_service_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/test_extension_prefs.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/net/ssl_config_service_manager_pref_unittest.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome/browser/prefs/chrome_pref_service_factory.h
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/prefs/chrome_pref_service_factory.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+31 lines, -26 lines |
0 comments
|
Download
|
|
M |
chrome/browser/prefs/chrome_pref_service_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/prefs/pref_service_mock_builder.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -31 lines |
0 comments
|
Download
|
|
M |
chrome/browser/prefs/pref_service_mock_builder.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -30 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/prefs/pref_service_mock_factory.h
|
View
|
1
2
3
4
5
|
1 chunk |
+13 lines, -7 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/prefs/pref_service_mock_factory.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/prefs/pref_service_syncable.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/prefs/pref_service_syncable_builder.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -47 lines |
0 comments
|
Download
|
|
M |
chrome/browser/prefs/pref_service_syncable_builder.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -75 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/prefs/pref_service_syncable_factory.h
|
View
|
1
2
3
4
|
2 chunks |
+13 lines, -15 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/prefs/pref_service_syncable_factory.cc
|
View
|
1
2
3
4
|
2 chunks |
+35 lines, -37 lines |
0 comments
|
Download
|
|
M |
chrome/browser/prefs/proxy_policy_unittest.cc
|
View
|
1
2
3
4
5
6
|
7 chunks |
+15 lines, -14 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/profile_impl.cc
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/app_list/app_list_service_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/test/base/testing_pref_service_syncable.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome_frame/test/reliability/page_load_test.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
components/autofill/core/browser/autofill_test_utils.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
Total messages: 22 (0 generated)
|