Chromium Code Reviews| OLD | NEW |
|---|---|
| 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.h" | 9 #include "base/metrics/histogram.h" |
| 10 #include "base/prefs/pref_registry_simple.h" | 10 #include "base/prefs/pref_registry_simple.h" |
| (...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 503 chromeos::file_system_provider::RegisterProfilePrefs(registry); | 503 chromeos::file_system_provider::RegisterProfilePrefs(registry); |
| 504 chromeos::MultiProfileUserController::RegisterProfilePrefs(registry); | 504 chromeos::MultiProfileUserController::RegisterProfilePrefs(registry); |
| 505 chromeos::Preferences::RegisterProfilePrefs(registry); | 505 chromeos::Preferences::RegisterProfilePrefs(registry); |
| 506 chromeos::proxy_config::RegisterProfilePrefs(registry); | 506 chromeos::proxy_config::RegisterProfilePrefs(registry); |
| 507 chromeos::SAMLOfflineSigninLimiter::RegisterProfilePrefs(registry); | 507 chromeos::SAMLOfflineSigninLimiter::RegisterProfilePrefs(registry); |
| 508 chromeos::ServicesCustomizationDocument::RegisterProfilePrefs(registry); | 508 chromeos::ServicesCustomizationDocument::RegisterProfilePrefs(registry); |
| 509 chromeos::UserImageSyncObserver::RegisterProfilePrefs(registry); | 509 chromeos::UserImageSyncObserver::RegisterProfilePrefs(registry); |
| 510 extensions::EnterprisePlatformKeysPrivateChallengeUserKeyFunction:: | 510 extensions::EnterprisePlatformKeysPrivateChallengeUserKeyFunction:: |
| 511 RegisterProfilePrefs(registry); | 511 RegisterProfilePrefs(registry); |
| 512 FlagsUI::RegisterProfilePrefs(registry); | 512 FlagsUI::RegisterProfilePrefs(registry); |
| 513 | |
|
bartfab (slow)
2015/03/12 11:54:47
Nit: Remove the blank line.
peletskyi
2015/03/18 13:28:13
Done.
| |
| 514 registry->RegisterBooleanPref( | |
|
bartfab (slow)
2015/03/12 11:54:47
Please move this to chromeos::Preferences::Registe
peletskyi
2015/03/18 13:28:13
Done.
| |
| 515 prefs::kForceMaximizeBrowserWindowOnFirstRun, false, | |
| 516 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); | |
| 513 #endif | 517 #endif |
| 514 | 518 |
| 515 #if defined(OS_WIN) | 519 #if defined(OS_WIN) |
| 516 component_updater::RegisterProfilePrefsForSwReporter(registry); | 520 component_updater::RegisterProfilePrefsForSwReporter(registry); |
| 517 NetworkProfileBubble::RegisterProfilePrefs(registry); | 521 NetworkProfileBubble::RegisterProfilePrefs(registry); |
| 518 #endif | 522 #endif |
| 519 | 523 |
| 520 #if defined(TOOLKIT_VIEWS) | 524 #if defined(TOOLKIT_VIEWS) |
| 521 RegisterBrowserViewProfilePrefs(registry); | 525 RegisterBrowserViewProfilePrefs(registry); |
| 522 RegisterInvertBubbleUserPrefs(registry); | 526 RegisterInvertBubbleUserPrefs(registry); |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 682 host_zoom_dictionary, false /* sanitize_partition_host_zoom_levels */); | 686 host_zoom_dictionary, false /* sanitize_partition_host_zoom_levels */); |
| 683 | 687 |
| 684 // We're done migrating the profile per-host zoom level values, so we clear | 688 // We're done migrating the profile per-host zoom level values, so we clear |
| 685 // them all. | 689 // them all. |
| 686 DictionaryPrefUpdate host_zoom_dictionary_update( | 690 DictionaryPrefUpdate host_zoom_dictionary_update( |
| 687 prefs, prefs::kPerHostZoomLevelsDeprecated); | 691 prefs, prefs::kPerHostZoomLevelsDeprecated); |
| 688 host_zoom_dictionary_update->Clear(); | 692 host_zoom_dictionary_update->Clear(); |
| 689 } | 693 } |
| 690 | 694 |
| 691 } // namespace chrome | 695 } // namespace chrome |
| OLD | NEW |