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

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: fix line breaks in comment 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
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/metrics/histogram_macros.h" 9 #include "base/metrics/histogram_macros.h"
10 #include "base/trace_event/trace_event.h" 10 #include "base/trace_event/trace_event.h"
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 292
293 namespace chrome { 293 namespace chrome {
294 294
295 void RegisterLocalState(PrefRegistrySimple* registry) { 295 void RegisterLocalState(PrefRegistrySimple* registry) {
296 // Please keep this list alphabetized. 296 // Please keep this list alphabetized.
297 AppListService::RegisterPrefs(registry); 297 AppListService::RegisterPrefs(registry);
298 browser_shutdown::RegisterPrefs(registry); 298 browser_shutdown::RegisterPrefs(registry);
299 BrowserProcessImpl::RegisterPrefs(registry); 299 BrowserProcessImpl::RegisterPrefs(registry);
300 ChromeMetricsServiceClient::RegisterPrefs(registry); 300 ChromeMetricsServiceClient::RegisterPrefs(registry);
301 ChromeTracingDelegate::RegisterPrefs(registry); 301 ChromeTracingDelegate::RegisterPrefs(registry);
302 chrome_prefs::RegisterPrefs(registry);
303 variations::VariationsService::RegisterPrefs(registry); 302 variations::VariationsService::RegisterPrefs(registry);
304 component_updater::RegisterPrefsForRecoveryComponent(registry); 303 component_updater::RegisterPrefsForRecoveryComponent(registry);
305 component_updater::SupervisedUserWhitelistInstaller::RegisterPrefs(registry); 304 component_updater::SupervisedUserWhitelistInstaller::RegisterPrefs(registry);
306 ExternalProtocolHandler::RegisterPrefs(registry); 305 ExternalProtocolHandler::RegisterPrefs(registry);
307 flags_ui::PrefServiceFlagsStorage::RegisterPrefs(registry); 306 flags_ui::PrefServiceFlagsStorage::RegisterPrefs(registry);
308 geolocation::RegisterPrefs(registry); 307 geolocation::RegisterPrefs(registry);
309 GLStringManager::RegisterPrefs(registry); 308 GLStringManager::RegisterPrefs(registry);
310 GpuModeManager::RegisterPrefs(registry); 309 GpuModeManager::RegisterPrefs(registry);
311 IntranetRedirectDetector::RegisterPrefs(registry); 310 IntranetRedirectDetector::RegisterPrefs(registry);
312 IOThread::RegisterPrefs(registry); 311 IOThread::RegisterPrefs(registry);
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 profile_prefs->SetInt64(prefs::kDefaultBrowserLastDeclined, 692 profile_prefs->SetInt64(prefs::kDefaultBrowserLastDeclined,
694 install_time.ToInternalValue()); 693 install_time.ToInternalValue());
695 } 694 }
696 profile_prefs->ClearPref(kCheckDefaultBrowser); 695 profile_prefs->ClearPref(kCheckDefaultBrowser);
697 696
698 // Added 5/2016. 697 // Added 5/2016.
699 profile_prefs->ClearPref(kDesktopSearchRedirectionInfobarShownPref); 698 profile_prefs->ClearPref(kDesktopSearchRedirectionInfobarShownPref);
700 } 699 }
701 700
702 } // namespace chrome 701 } // namespace chrome
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/prefs/chrome_pref_service_factory.h » ('j') | chrome/browser/prefs/profile_pref_store_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698