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

Side by Side Diff: ios/chrome/browser/prefs/browser_prefs.mm

Issue 1662523004: Delete base/prefs and update callers to use components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ios/chrome/browser/prefs/browser_prefs.h" 5 #include "ios/chrome/browser/prefs/browser_prefs.h"
6 6
7 #include "base/prefs/pref_service.h"
8 #include "components/autofill/core/browser/autofill_manager.h" 7 #include "components/autofill/core/browser/autofill_manager.h"
9 #include "components/content_settings/core/browser/host_content_settings_map.h" 8 #include "components/content_settings/core/browser/host_content_settings_map.h"
10 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_pref s.h" 9 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_pref s.h"
11 #include "components/dom_distiller/core/distilled_page_prefs.h" 10 #include "components/dom_distiller/core/distilled_page_prefs.h"
12 #include "components/flags_ui/pref_service_flags_storage.h" 11 #include "components/flags_ui/pref_service_flags_storage.h"
13 #include "components/gcm_driver/gcm_channel_status_syncer.h" 12 #include "components/gcm_driver/gcm_channel_status_syncer.h"
14 #include "components/network_time/network_time_tracker.h" 13 #include "components/network_time/network_time_tracker.h"
15 #include "components/omnibox/browser/zero_suggest_provider.h" 14 #include "components/omnibox/browser/zero_suggest_provider.h"
16 #include "components/password_manager/core/browser/password_manager.h" 15 #include "components/password_manager/core/browser/password_manager.h"
17 #include "components/pref_registry/pref_registry_syncable.h" 16 #include "components/pref_registry/pref_registry_syncable.h"
17 #include "components/prefs/pref_service.h"
18 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" 18 #include "components/proxy_config/pref_proxy_config_tracker_impl.h"
19 #include "components/rappor/rappor_service.h" 19 #include "components/rappor/rappor_service.h"
20 #include "components/search_engines/template_url_prepopulate_data.h" 20 #include "components/search_engines/template_url_prepopulate_data.h"
21 #include "components/signin/core/common/signin_pref_names.h" 21 #include "components/signin/core/common/signin_pref_names.h"
22 #include "components/ssl_config/ssl_config_service_manager.h" 22 #include "components/ssl_config/ssl_config_service_manager.h"
23 #include "components/sync_driver/sync_prefs.h" 23 #include "components/sync_driver/sync_prefs.h"
24 #include "components/translate/core/browser/translate_prefs.h" 24 #include "components/translate/core/browser/translate_prefs.h"
25 #include "components/translate/core/common/translate_pref_names.h" 25 #include "components/translate/core/common/translate_pref_names.h"
26 #include "components/variations/service/variations_service.h" 26 #include "components/variations/service/variations_service.h"
27 #include "components/web_resource/promo_resource_service.h" 27 #include "components/web_resource/promo_resource_service.h"
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 void MigrateObsoleteLocalStatePrefs(PrefService* prefs) {} 142 void MigrateObsoleteLocalStatePrefs(PrefService* prefs) {}
143 143
144 // This method should be periodically pruned of year+ old migrations. 144 // This method should be periodically pruned of year+ old migrations.
145 void MigrateObsoleteBrowserStatePrefs(PrefService* prefs) { 145 void MigrateObsoleteBrowserStatePrefs(PrefService* prefs) {
146 // Added 07/2014. 146 // Added 07/2014.
147 translate::TranslatePrefs::MigrateUserPrefs(prefs, prefs::kAcceptLanguages); 147 translate::TranslatePrefs::MigrateUserPrefs(prefs, prefs::kAcceptLanguages);
148 148
149 // Added 08/2015. 149 // Added 08/2015.
150 prefs->ClearPref(::prefs::kSigninSharedAuthenticationUserId); 150 prefs->ClearPref(::prefs::kSigninSharedAuthenticationUserId);
151 } 151 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698