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

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

Issue 1981913002: *DRAFT* Move MediaDeviceIDSalt from chrome/ to components/ and use it in Android WebView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « chrome/browser/media/media_device_id_salt.cc ('k') | chrome/browser/profiles/profile_io_data.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/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"
11 #include "build/build_config.h" 11 #include "build/build_config.h"
12 #include "chrome/browser/about_flags.h" 12 #include "chrome/browser/about_flags.h"
13 #include "chrome/browser/accessibility/invert_bubble_prefs.h" 13 #include "chrome/browser/accessibility/invert_bubble_prefs.h"
14 #include "chrome/browser/browser_process_impl.h" 14 #include "chrome/browser/browser_process_impl.h"
15 #include "chrome/browser/browser_shutdown.h" 15 #include "chrome/browser/browser_shutdown.h"
16 #include "chrome/browser/chrome_content_browser_client.h" 16 #include "chrome/browser/chrome_content_browser_client.h"
17 #include "chrome/browser/component_updater/recovery_component_installer.h" 17 #include "chrome/browser/component_updater/recovery_component_installer.h"
18 #include "chrome/browser/component_updater/supervised_user_whitelist_installer.h " 18 #include "chrome/browser/component_updater/supervised_user_whitelist_installer.h "
19 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" 19 #include "chrome/browser/custom_handlers/protocol_handler_registry.h"
20 #include "chrome/browser/devtools/devtools_window.h" 20 #include "chrome/browser/devtools/devtools_window.h"
21 #include "chrome/browser/download/download_prefs.h" 21 #include "chrome/browser/download/download_prefs.h"
22 #include "chrome/browser/external_protocol/external_protocol_handler.h" 22 #include "chrome/browser/external_protocol/external_protocol_handler.h"
23 #include "chrome/browser/first_run/first_run.h" 23 #include "chrome/browser/first_run/first_run.h"
24 #include "chrome/browser/geolocation/geolocation_prefs.h" 24 #include "chrome/browser/geolocation/geolocation_prefs.h"
25 #include "chrome/browser/gpu/gl_string_manager.h" 25 #include "chrome/browser/gpu/gl_string_manager.h"
26 #include "chrome/browser/gpu/gpu_mode_manager.h" 26 #include "chrome/browser/gpu/gpu_mode_manager.h"
27 #include "chrome/browser/intranet_redirect_detector.h" 27 #include "chrome/browser/intranet_redirect_detector.h"
28 #include "chrome/browser/io_thread.h" 28 #include "chrome/browser/io_thread.h"
29 #include "chrome/browser/media/media_capture_devices_dispatcher.h" 29 #include "chrome/browser/media/media_capture_devices_dispatcher.h"
30 #include "chrome/browser/media/media_device_id_salt.h"
31 #include "chrome/browser/media/media_stream_devices_controller.h" 30 #include "chrome/browser/media/media_stream_devices_controller.h"
32 #include "chrome/browser/metrics/chrome_metrics_service_client.h" 31 #include "chrome/browser/metrics/chrome_metrics_service_client.h"
33 #include "chrome/browser/net/http_server_properties_manager_factory.h" 32 #include "chrome/browser/net/http_server_properties_manager_factory.h"
34 #include "chrome/browser/net/net_pref_observer.h" 33 #include "chrome/browser/net/net_pref_observer.h"
35 #include "chrome/browser/net/prediction_options.h" 34 #include "chrome/browser/net/prediction_options.h"
36 #include "chrome/browser/net/predictor.h" 35 #include "chrome/browser/net/predictor.h"
37 #include "chrome/browser/notifications/extension_welcome_notification.h" 36 #include "chrome/browser/notifications/extension_welcome_notification.h"
38 #include "chrome/browser/notifications/notifier_state_tracker.h" 37 #include "chrome/browser/notifications/notifier_state_tracker.h"
39 #include "chrome/browser/pepper_flash_settings_manager.h" 38 #include "chrome/browser/pepper_flash_settings_manager.h"
40 #include "chrome/browser/plugins/plugin_finder.h" 39 #include "chrome/browser/plugins/plugin_finder.h"
(...skipping 25 matching lines...) Expand all
66 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" 65 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h"
67 #include "chrome/browser/ui/webui/plugins/plugins_ui.h" 66 #include "chrome/browser/ui/webui/plugins/plugins_ui.h"
68 #include "chrome/browser/ui/webui/print_preview/sticky_settings.h" 67 #include "chrome/browser/ui/webui/print_preview/sticky_settings.h"
69 #include "chrome/common/features.h" 68 #include "chrome/common/features.h"
70 #include "chrome/common/pref_names.h" 69 #include "chrome/common/pref_names.h"
71 #include "components/autofill/core/browser/autofill_manager.h" 70 #include "components/autofill/core/browser/autofill_manager.h"
72 #include "components/content_settings/core/browser/host_content_settings_map.h" 71 #include "components/content_settings/core/browser/host_content_settings_map.h"
73 #include "components/dom_distiller/core/distilled_page_prefs.h" 72 #include "components/dom_distiller/core/distilled_page_prefs.h"
74 #include "components/flags_ui/pref_service_flags_storage.h" 73 #include "components/flags_ui/pref_service_flags_storage.h"
75 #include "components/gcm_driver/gcm_channel_status_syncer.h" 74 #include "components/gcm_driver/gcm_channel_status_syncer.h"
75 #include "components/media_device_id_salt/media_device_id_salt.h"
76 #include "components/metrics/metrics_service.h" 76 #include "components/metrics/metrics_service.h"
77 #include "components/network_time/network_time_tracker.h" 77 #include "components/network_time/network_time_tracker.h"
78 #include "components/ntp_snippets/ntp_snippets_service.h" 78 #include "components/ntp_snippets/ntp_snippets_service.h"
79 #include "components/omnibox/browser/zero_suggest_provider.h" 79 #include "components/omnibox/browser/zero_suggest_provider.h"
80 #include "components/password_manager/core/browser/password_bubble_experiment.h" 80 #include "components/password_manager/core/browser/password_bubble_experiment.h"
81 #include "components/password_manager/core/browser/password_manager.h" 81 #include "components/password_manager/core/browser/password_manager.h"
82 #include "components/policy/core/browser/browser_policy_connector.h" 82 #include "components/policy/core/browser/browser_policy_connector.h"
83 #include "components/policy/core/browser/url_blacklist_manager.h" 83 #include "components/policy/core/browser/url_blacklist_manager.h"
84 #include "components/policy/core/common/policy_statistics_collector.h" 84 #include "components/policy/core/common/policy_statistics_collector.h"
85 #include "components/pref_registry/pref_registry_syncable.h" 85 #include "components/pref_registry/pref_registry_syncable.h"
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 chrome_browser_net::Predictor::RegisterProfilePrefs(registry); 418 chrome_browser_net::Predictor::RegisterProfilePrefs(registry);
419 chrome_browser_net::RegisterPredictionOptionsProfilePrefs(registry); 419 chrome_browser_net::RegisterPredictionOptionsProfilePrefs(registry);
420 chrome_prefs::RegisterProfilePrefs(registry); 420 chrome_prefs::RegisterProfilePrefs(registry);
421 dom_distiller::DistilledPagePrefs::RegisterProfilePrefs(registry); 421 dom_distiller::DistilledPagePrefs::RegisterProfilePrefs(registry);
422 DownloadPrefs::RegisterProfilePrefs(registry); 422 DownloadPrefs::RegisterProfilePrefs(registry);
423 HostContentSettingsMap::RegisterProfilePrefs(registry); 423 HostContentSettingsMap::RegisterProfilePrefs(registry);
424 IncognitoModePrefs::RegisterProfilePrefs(registry); 424 IncognitoModePrefs::RegisterProfilePrefs(registry);
425 InstantUI::RegisterProfilePrefs(registry); 425 InstantUI::RegisterProfilePrefs(registry);
426 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry); 426 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry);
427 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); 427 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry);
428 MediaDeviceIDSalt::RegisterProfilePrefs(registry); 428 media_device_id_salt::MediaDeviceIDSalt::RegisterProfilePrefs(registry);
429 MediaStreamDevicesController::RegisterProfilePrefs(registry); 429 MediaStreamDevicesController::RegisterProfilePrefs(registry);
430 NetPrefObserver::RegisterProfilePrefs(registry); 430 NetPrefObserver::RegisterProfilePrefs(registry);
431 ntp_snippets::NTPSnippetsService::RegisterProfilePrefs(registry); 431 ntp_snippets::NTPSnippetsService::RegisterProfilePrefs(registry);
432 password_bubble_experiment::RegisterPrefs(registry); 432 password_bubble_experiment::RegisterPrefs(registry);
433 password_manager::PasswordManager::RegisterProfilePrefs(registry); 433 password_manager::PasswordManager::RegisterProfilePrefs(registry);
434 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry); 434 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry);
435 PrefsTabHelper::RegisterProfilePrefs(registry); 435 PrefsTabHelper::RegisterProfilePrefs(registry);
436 Profile::RegisterProfilePrefs(registry); 436 Profile::RegisterProfilePrefs(registry);
437 ProfileImpl::RegisterProfilePrefs(registry); 437 ProfileImpl::RegisterProfilePrefs(registry);
438 ProtocolHandlerRegistry::RegisterProfilePrefs(registry); 438 ProtocolHandlerRegistry::RegisterProfilePrefs(registry);
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 metrics_service 682 metrics_service
683 ? base::Time::FromTimeT(metrics_service->GetInstallDate()) 683 ? base::Time::FromTimeT(metrics_service->GetInstallDate())
684 : base::Time::Now(); 684 : base::Time::Now();
685 profile_prefs->SetInt64(prefs::kDefaultBrowserLastDeclined, 685 profile_prefs->SetInt64(prefs::kDefaultBrowserLastDeclined,
686 install_time.ToInternalValue()); 686 install_time.ToInternalValue());
687 } 687 }
688 profile_prefs->ClearPref(kCheckDefaultBrowser); 688 profile_prefs->ClearPref(kCheckDefaultBrowser);
689 } 689 }
690 690
691 } // namespace chrome 691 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/media/media_device_id_salt.cc ('k') | chrome/browser/profiles/profile_io_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698