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

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

Issue 54863002: Implement a salt for MediaSource IDs that can be cleared by a user. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
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 "apps/prefs.h" 7 #include "apps/prefs.h"
8 #include "base/debug/trace_event.h" 8 #include "base/debug/trace_event.h"
9 #include "base/prefs/pref_registry_simple.h" 9 #include "base/prefs/pref_registry_simple.h"
10 #include "base/prefs/pref_service.h" 10 #include "base/prefs/pref_service.h"
(...skipping 19 matching lines...) Expand all
30 #include "chrome/browser/external_protocol/external_protocol_handler.h" 30 #include "chrome/browser/external_protocol/external_protocol_handler.h"
31 #include "chrome/browser/first_run/first_run.h" 31 #include "chrome/browser/first_run/first_run.h"
32 #include "chrome/browser/geolocation/geolocation_prefs.h" 32 #include "chrome/browser/geolocation/geolocation_prefs.h"
33 #include "chrome/browser/google/google_url_tracker.h" 33 #include "chrome/browser/google/google_url_tracker.h"
34 #include "chrome/browser/google/google_url_tracker_factory.h" 34 #include "chrome/browser/google/google_url_tracker_factory.h"
35 #include "chrome/browser/gpu/gl_string_manager.h" 35 #include "chrome/browser/gpu/gl_string_manager.h"
36 #include "chrome/browser/gpu/gpu_mode_manager.h" 36 #include "chrome/browser/gpu/gpu_mode_manager.h"
37 #include "chrome/browser/intranet_redirect_detector.h" 37 #include "chrome/browser/intranet_redirect_detector.h"
38 #include "chrome/browser/io_thread.h" 38 #include "chrome/browser/io_thread.h"
39 #include "chrome/browser/media/media_capture_devices_dispatcher.h" 39 #include "chrome/browser/media/media_capture_devices_dispatcher.h"
40 #include "chrome/browser/media/media_device_id_salt.h"
40 #include "chrome/browser/media/media_stream_devices_controller.h" 41 #include "chrome/browser/media/media_stream_devices_controller.h"
41 #include "chrome/browser/metrics/metrics_log.h" 42 #include "chrome/browser/metrics/metrics_log.h"
42 #include "chrome/browser/metrics/metrics_service.h" 43 #include "chrome/browser/metrics/metrics_service.h"
43 #include "chrome/browser/metrics/variations/variations_service.h" 44 #include "chrome/browser/metrics/variations/variations_service.h"
44 #include "chrome/browser/net/http_server_properties_manager.h" 45 #include "chrome/browser/net/http_server_properties_manager.h"
45 #include "chrome/browser/net/net_pref_observer.h" 46 #include "chrome/browser/net/net_pref_observer.h"
46 #include "chrome/browser/net/predictor.h" 47 #include "chrome/browser/net/predictor.h"
47 #include "chrome/browser/net/pref_proxy_config_tracker_impl.h" 48 #include "chrome/browser/net/pref_proxy_config_tracker_impl.h"
48 #include "chrome/browser/net/ssl_config_service_manager.h" 49 #include "chrome/browser/net/ssl_config_service_manager.h"
49 #include "chrome/browser/network_time/network_time_service.h" 50 #include "chrome/browser/network_time/network_time_service.h"
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 registry); 335 registry);
335 chrome_browser_net::Predictor::RegisterProfilePrefs(registry); 336 chrome_browser_net::Predictor::RegisterProfilePrefs(registry);
336 DownloadPrefs::RegisterProfilePrefs(registry); 337 DownloadPrefs::RegisterProfilePrefs(registry);
337 extensions::ExtensionPrefs::RegisterProfilePrefs(registry); 338 extensions::ExtensionPrefs::RegisterProfilePrefs(registry);
338 ExtensionWebUI::RegisterProfilePrefs(registry); 339 ExtensionWebUI::RegisterProfilePrefs(registry);
339 HostContentSettingsMap::RegisterProfilePrefs(registry); 340 HostContentSettingsMap::RegisterProfilePrefs(registry);
340 IncognitoModePrefs::RegisterProfilePrefs(registry); 341 IncognitoModePrefs::RegisterProfilePrefs(registry);
341 InstantUI::RegisterProfilePrefs(registry); 342 InstantUI::RegisterProfilePrefs(registry);
342 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); 343 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry);
343 MediaStreamDevicesController::RegisterProfilePrefs(registry); 344 MediaStreamDevicesController::RegisterProfilePrefs(registry);
345 MediaDeviceIDSalt::RegisterProfilePrefs(registry);
344 NetPrefObserver::RegisterProfilePrefs(registry); 346 NetPrefObserver::RegisterProfilePrefs(registry);
345 NetworkTimeService::RegisterProfilePrefs(registry); 347 NetworkTimeService::RegisterProfilePrefs(registry);
346 NewTabUI::RegisterProfilePrefs(registry); 348 NewTabUI::RegisterProfilePrefs(registry);
347 #if !defined(OS_ANDROID) 349 #if !defined(OS_ANDROID)
348 notifier::ChromeNotifierService::RegisterProfilePrefs(registry); 350 notifier::ChromeNotifierService::RegisterProfilePrefs(registry);
349 #endif // OS_ANDROID 351 #endif // OS_ANDROID
350 PasswordGenerationManager::RegisterProfilePrefs(registry); 352 PasswordGenerationManager::RegisterProfilePrefs(registry);
351 PasswordManager::RegisterProfilePrefs(registry); 353 PasswordManager::RegisterProfilePrefs(registry);
352 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry); 354 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry);
353 PrefsTabHelper::RegisterProfilePrefs(registry); 355 PrefsTabHelper::RegisterProfilePrefs(registry);
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 } 561 }
560 local_state->ClearPref(prefs::kLastPromptedGoogleURL); 562 local_state->ClearPref(prefs::kLastPromptedGoogleURL);
561 563
562 current_version |= GOOGLE_URL_TRACKER_PREFS; 564 current_version |= GOOGLE_URL_TRACKER_PREFS;
563 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, 565 local_state->SetInteger(prefs::kMultipleProfilePrefMigration,
564 current_version); 566 current_version);
565 } 567 }
566 } 568 }
567 569
568 } // namespace chrome 570 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698