Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Issue 12223091: Split testing_pref_service.h/.cc into two parts, generic vs. Chrome-specific. (Closed)

Created:
7 years, 10 months ago by Jói
Modified:
7 years, 10 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Split testing_pref_service.h/.cc into two parts, generic vs. Chrome-specific. TBR=ben@chromium.org BUG=155525 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182026

Patch Set 1 #

Total comments: 23

Patch Set 2 : Address review comments. #

Patch Set 3 : Address review comments. #

Total comments: 2

Patch Set 4 : Fix CrOS build. #

Patch Set 5 : Address review comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+259 lines, -202 lines) Patch
M chrome/browser/chromeos/input_method/input_method_persistence_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/login_utils_browsertest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/preferences_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/settings/cros_settings_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/settings/device_settings_provider_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/content_settings/content_settings_policy_provider_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/content_settings/content_settings_pref_provider_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/content_settings/host_content_settings_map_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/download/chrome_download_manager_delegate_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/web_request/web_request_api_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/component_loader_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/external_policy_loader_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/net/chrome_network_delegate_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/net/ssl_config_service_manager_pref_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/password_manager/password_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/auto_enrollment_client_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/policy/user_policy_signin_service_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prefs/incognito_mode_prefs_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prefs/pref_notifier_impl_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/prefs/pref_service_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prefs/scoped_user_pref_update_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prefs/session_startup_pref_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile_manager_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/search_engines/search_provider_install_data_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/search_engines/template_url_service_sync_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/search_engines/template_url_service_test_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/invalidations/invalidator_storage_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_preference_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/sync_prefs_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/event_rewriter_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_browser_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/chrome_select_file_policy_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/sync/one_click_signin_helper_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/web_resource/promo_resource_service_mobile_ntp_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/web_resource/promo_resource_service_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
A chrome/test/base/scoped_testing_local_state.h View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
A chrome/test/base/scoped_testing_local_state.cc View 1 2 1 chunk +22 lines, -0 lines 0 comments Download
M chrome/test/base/testing_pref_service.h View 1 2 3 4 4 chunks +59 lines, -91 lines 0 comments Download
M chrome/test/base/testing_pref_service.cc View 1 2 3 4 3 chunks +5 lines, -69 lines 0 comments Download
A chrome/test/base/testing_pref_service_syncable.h View 1 2 1 chunk +40 lines, -0 lines 0 comments Download
A chrome/test/base/testing_pref_service_syncable.cc View 1 2 1 chunk +55 lines, -0 lines 0 comments Download
M chrome/test/base/testing_profile.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/base/testing_profile_manager.h View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
Jói
This is part of moving the non-Chrome-specific Prefs tests to base/prefs/. My plan is as ...
7 years, 10 months ago (2013-02-12 13:06:34 UTC) #1
Mattias Nissler (ping if slow)
https://codereview.chromium.org/12223091/diff/1/chrome/browser/chromeos/login/login_utils_browsertest.cc File chrome/browser/chromeos/login/login_utils_browsertest.cc (right): https://codereview.chromium.org/12223091/diff/1/chrome/browser/chromeos/login/login_utils_browsertest.cc#newcode39 chrome/browser/chromeos/login/login_utils_browsertest.cc:39: #include "chrome/test/base/testing_pref_service_syncable.h" needed? https://codereview.chromium.org/12223091/diff/1/chrome/browser/chromeos/settings/cros_settings_unittest.cc File chrome/browser/chromeos/settings/cros_settings_unittest.cc (right): https://codereview.chromium.org/12223091/diff/1/chrome/browser/chromeos/settings/cros_settings_unittest.cc#newcode21 chrome/browser/chromeos/settings/cros_settings_unittest.cc:21: ...
7 years, 10 months ago (2013-02-12 13:53:32 UTC) #2
Jói
I think all the #includes of testing_pref_service_syncable.h that you tagged are required; I added them ...
7 years, 10 months ago (2013-02-12 14:35:50 UTC) #3
Mattias Nissler (ping if slow)
Doh, I had wrongly assumed ScopedTestingLocalState was declared in testing_pref_service.h, which it obviously isn't. I ...
7 years, 10 months ago (2013-02-12 14:42:57 UTC) #4
Jói
Good idea, will try making the registry a template parameter. Will also move ScopedTestingLocalState to ...
7 years, 10 months ago (2013-02-12 14:46:22 UTC) #5
Jói
> Good idea, will try making the registry a template parameter. > > Will also ...
7 years, 10 months ago (2013-02-12 16:38:24 UTC) #6
Jói
TBR=ben@chromium.org for #include statement updates throughout the code. Cheers, Jói
7 years, 10 months ago (2013-02-12 17:33:09 UTC) #7
Mattias Nissler (ping if slow)
LGTM with a nit/suggestion. https://codereview.chromium.org/12223091/diff/11001/chrome/test/base/testing_pref_service.h File chrome/test/base/testing_pref_service.h (right): https://codereview.chromium.org/12223091/diff/11001/chrome/test/base/testing_pref_service.h#newcode23 chrome/test/base/testing_pref_service.h:23: template <class SuperPrefService, class ConstructionPrefRegistry=PrefRegistry> ...
7 years, 10 months ago (2013-02-12 17:34:47 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/12223091/5005
7 years, 10 months ago (2013-02-12 19:33:13 UTC) #9
Jói
Thanks Mattias. Forgot to respond with the comment below before pulling the CQ trigger. Cheers, ...
7 years, 10 months ago (2013-02-12 19:45:34 UTC) #10
commit-bot: I haz the power
Change committed as 182026
7 years, 10 months ago (2013-02-12 21:45:16 UTC) #11
Ben Goodger (Google)
7 years, 10 months ago (2013-02-13 22:23:18 UTC) #12
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698