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

Side by Side Diff: chrome/browser/prefs/browser_prefs.cc

Issue 2111253002: Clean up old legacy preference migration logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove now unused kHashStoreId in unit test Created 4 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/prefs/chrome_pref_service_factory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 "chrome/browser/prefs/browser_prefs.h" 5 #include "chrome/browser/prefs/browser_prefs.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/metrics/histogram_macros.h" 10 #include "base/metrics/histogram_macros.h"
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 316
317 namespace chrome { 317 namespace chrome {
318 318
319 void RegisterLocalState(PrefRegistrySimple* registry) { 319 void RegisterLocalState(PrefRegistrySimple* registry) {
320 // Please keep this list alphabetized. 320 // Please keep this list alphabetized.
321 AppListService::RegisterPrefs(registry); 321 AppListService::RegisterPrefs(registry);
322 browser_shutdown::RegisterPrefs(registry); 322 browser_shutdown::RegisterPrefs(registry);
323 BrowserProcessImpl::RegisterPrefs(registry); 323 BrowserProcessImpl::RegisterPrefs(registry);
324 ChromeMetricsServiceClient::RegisterPrefs(registry); 324 ChromeMetricsServiceClient::RegisterPrefs(registry);
325 ChromeTracingDelegate::RegisterPrefs(registry); 325 ChromeTracingDelegate::RegisterPrefs(registry);
326 chrome_prefs::RegisterPrefs(registry);
327 variations::VariationsService::RegisterPrefs(registry); 326 variations::VariationsService::RegisterPrefs(registry);
328 component_updater::RegisterPrefsForRecoveryComponent(registry); 327 component_updater::RegisterPrefsForRecoveryComponent(registry);
329 component_updater::SupervisedUserWhitelistInstaller::RegisterPrefs(registry); 328 component_updater::SupervisedUserWhitelistInstaller::RegisterPrefs(registry);
330 ExternalProtocolHandler::RegisterPrefs(registry); 329 ExternalProtocolHandler::RegisterPrefs(registry);
331 flags_ui::PrefServiceFlagsStorage::RegisterPrefs(registry); 330 flags_ui::PrefServiceFlagsStorage::RegisterPrefs(registry);
332 geolocation::RegisterPrefs(registry); 331 geolocation::RegisterPrefs(registry);
333 GLStringManager::RegisterPrefs(registry); 332 GLStringManager::RegisterPrefs(registry);
334 GpuModeManager::RegisterPrefs(registry); 333 GpuModeManager::RegisterPrefs(registry);
335 IntranetRedirectDetector::RegisterPrefs(registry); 334 IntranetRedirectDetector::RegisterPrefs(registry);
336 IOThread::RegisterPrefs(registry); 335 IOThread::RegisterPrefs(registry);
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 profile_prefs->ClearPref(kCheckDefaultBrowser); 726 profile_prefs->ClearPref(kCheckDefaultBrowser);
728 727
729 // Added 5/2016. 728 // Added 5/2016.
730 profile_prefs->ClearPref(kDesktopSearchRedirectionInfobarShownPref); 729 profile_prefs->ClearPref(kDesktopSearchRedirectionInfobarShownPref);
731 730
732 // Added 7/2016. 731 // Added 7/2016.
733 DeleteWebRTCIdentityStoreDB(profile); 732 DeleteWebRTCIdentityStoreDB(profile);
734 } 733 }
735 734
736 } // namespace chrome 735 } // namespace chrome
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/prefs/chrome_pref_service_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698