| 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_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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 192 #include "chrome/browser/ui/webui/chromeos/login/reset_screen_handler.h" | 192 #include "chrome/browser/ui/webui/chromeos/login/reset_screen_handler.h" | 
| 193 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" | 193 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" | 
| 194 #include "chromeos/audio/audio_devices_pref_handler_impl.h" | 194 #include "chromeos/audio/audio_devices_pref_handler_impl.h" | 
| 195 #include "chromeos/timezone/timezone_resolver.h" | 195 #include "chromeos/timezone/timezone_resolver.h" | 
| 196 #include "components/invalidation/impl/invalidator_storage.h" | 196 #include "components/invalidation/impl/invalidator_storage.h" | 
| 197 #include "components/quirks/quirks_manager.h" | 197 #include "components/quirks/quirks_manager.h" | 
| 198 #else | 198 #else | 
| 199 #include "chrome/browser/extensions/default_apps.h" | 199 #include "chrome/browser/extensions/default_apps.h" | 
| 200 #endif | 200 #endif | 
| 201 | 201 | 
|  | 202 #if defined(OS_ANDROID) | 
|  | 203 #include "chrome/browser/notifications/notification_platform_bridge_android.h" | 
|  | 204 #endif | 
|  | 205 | 
| 202 #if defined(OS_CHROMEOS) && defined(ENABLE_APP_LIST) | 206 #if defined(OS_CHROMEOS) && defined(ENABLE_APP_LIST) | 
| 203 #include "chrome/browser/ui/app_list/arc/arc_app_list_prefs.h" | 207 #include "chrome/browser/ui/app_list/arc/arc_app_list_prefs.h" | 
| 204 #endif | 208 #endif | 
| 205 | 209 | 
| 206 #if defined(OS_MACOSX) | 210 #if defined(OS_MACOSX) | 
| 207 #include "chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac.h" | 211 #include "chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac.h" | 
| 208 #include "chrome/browser/ui/cocoa/confirm_quit.h" | 212 #include "chrome/browser/ui/cocoa/confirm_quit.h" | 
| 209 #endif | 213 #endif | 
| 210 | 214 | 
| 211 #if defined(OS_WIN) | 215 #if defined(OS_WIN) | 
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 522   NewTabUI::RegisterProfilePrefs(registry); | 526   NewTabUI::RegisterProfilePrefs(registry); | 
| 523   PepperFlashSettingsManager::RegisterProfilePrefs(registry); | 527   PepperFlashSettingsManager::RegisterProfilePrefs(registry); | 
| 524   PinnedTabCodec::RegisterProfilePrefs(registry); | 528   PinnedTabCodec::RegisterProfilePrefs(registry); | 
| 525   signin::RegisterProfilePrefs(registry); | 529   signin::RegisterProfilePrefs(registry); | 
| 526 #endif | 530 #endif | 
| 527 | 531 | 
| 528 #if !defined(OS_ANDROID) && !defined(OS_CHROMEOS) | 532 #if !defined(OS_ANDROID) && !defined(OS_CHROMEOS) | 
| 529   default_apps::RegisterProfilePrefs(registry); | 533   default_apps::RegisterProfilePrefs(registry); | 
| 530 #endif | 534 #endif | 
| 531 | 535 | 
|  | 536 #if defined(OS_ANDROID) | 
|  | 537   NotificationPlatformBridgeAndroid::RegisterProfilePrefs(registry); | 
|  | 538 #endif | 
|  | 539 | 
| 532 #if defined(OS_CHROMEOS) | 540 #if defined(OS_CHROMEOS) | 
| 533   arc::ArcAuthService::RegisterProfilePrefs(registry); | 541   arc::ArcAuthService::RegisterProfilePrefs(registry); | 
| 534   chromeos::first_run::RegisterProfilePrefs(registry); | 542   chromeos::first_run::RegisterProfilePrefs(registry); | 
| 535   chromeos::file_system_provider::RegisterProfilePrefs(registry); | 543   chromeos::file_system_provider::RegisterProfilePrefs(registry); | 
| 536   chromeos::KeyPermissions::RegisterProfilePrefs(registry); | 544   chromeos::KeyPermissions::RegisterProfilePrefs(registry); | 
| 537   chromeos::MultiProfileUserController::RegisterProfilePrefs(registry); | 545   chromeos::MultiProfileUserController::RegisterProfilePrefs(registry); | 
| 538   chromeos::PinStorage::RegisterProfilePrefs(registry); | 546   chromeos::PinStorage::RegisterProfilePrefs(registry); | 
| 539   chromeos::Preferences::RegisterProfilePrefs(registry); | 547   chromeos::Preferences::RegisterProfilePrefs(registry); | 
| 540   chromeos::proxy_config::RegisterProfilePrefs(registry); | 548   chromeos::proxy_config::RegisterProfilePrefs(registry); | 
| 541   chromeos::SAMLOfflineSigninLimiter::RegisterProfilePrefs(registry); | 549   chromeos::SAMLOfflineSigninLimiter::RegisterProfilePrefs(registry); | 
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 693     profile_prefs->SetInt64(prefs::kDefaultBrowserLastDeclined, | 701     profile_prefs->SetInt64(prefs::kDefaultBrowserLastDeclined, | 
| 694                             install_time.ToInternalValue()); | 702                             install_time.ToInternalValue()); | 
| 695   } | 703   } | 
| 696   profile_prefs->ClearPref(kCheckDefaultBrowser); | 704   profile_prefs->ClearPref(kCheckDefaultBrowser); | 
| 697 | 705 | 
| 698   // Added 5/2016. | 706   // Added 5/2016. | 
| 699   profile_prefs->ClearPref(kDesktopSearchRedirectionInfobarShownPref); | 707   profile_prefs->ClearPref(kDesktopSearchRedirectionInfobarShownPref); | 
| 700 } | 708 } | 
| 701 | 709 | 
| 702 }  // namespace chrome | 710 }  // namespace chrome | 
| OLD | NEW | 
|---|