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

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

Issue 2546533003: Respect QuicAllowed policy for new streams (Closed)
Patch Set: Rebase Created 3 years, 11 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/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/metrics/histogram_macros.h" 10 #include "base/metrics/histogram_macros.h"
(...skipping 14 matching lines...) Expand all
25 #include "chrome/browser/geolocation/geolocation_prefs.h" 25 #include "chrome/browser/geolocation/geolocation_prefs.h"
26 #include "chrome/browser/gpu/gpu_mode_manager.h" 26 #include "chrome/browser/gpu/gpu_mode_manager.h"
27 #include "chrome/browser/gpu/gpu_profile_cache.h" 27 #include "chrome/browser/gpu/gpu_profile_cache.h"
28 #include "chrome/browser/intranet_redirect_detector.h" 28 #include "chrome/browser/intranet_redirect_detector.h"
29 #include "chrome/browser/io_thread.h" 29 #include "chrome/browser/io_thread.h"
30 #include "chrome/browser/media/media_device_id_salt.h" 30 #include "chrome/browser/media/media_device_id_salt.h"
31 #include "chrome/browser/media/webrtc/media_capture_devices_dispatcher.h" 31 #include "chrome/browser/media/webrtc/media_capture_devices_dispatcher.h"
32 #include "chrome/browser/media/webrtc/media_stream_devices_controller.h" 32 #include "chrome/browser/media/webrtc/media_stream_devices_controller.h"
33 #include "chrome/browser/metrics/chrome_metrics_service_client.h" 33 #include "chrome/browser/metrics/chrome_metrics_service_client.h"
34 #include "chrome/browser/net/http_server_properties_manager_factory.h" 34 #include "chrome/browser/net/http_server_properties_manager_factory.h"
35 #include "chrome/browser/net/net_pref_observer.h"
35 #include "chrome/browser/net/nqe/ui_network_quality_estimator_service.h" 36 #include "chrome/browser/net/nqe/ui_network_quality_estimator_service.h"
36 #include "chrome/browser/net/prediction_options.h" 37 #include "chrome/browser/net/prediction_options.h"
37 #include "chrome/browser/net/predictor.h" 38 #include "chrome/browser/net/predictor.h"
38 #include "chrome/browser/notifications/extension_welcome_notification.h" 39 #include "chrome/browser/notifications/extension_welcome_notification.h"
39 #include "chrome/browser/notifications/notifier_state_tracker.h" 40 #include "chrome/browser/notifications/notifier_state_tracker.h"
40 #include "chrome/browser/pepper_flash_settings_manager.h" 41 #include "chrome/browser/pepper_flash_settings_manager.h"
41 #include "chrome/browser/plugins/plugin_finder.h" 42 #include "chrome/browser/plugins/plugin_finder.h"
42 #include "chrome/browser/prefs/chrome_pref_service_factory.h" 43 #include "chrome/browser/prefs/chrome_pref_service_factory.h"
43 #include "chrome/browser/prefs/incognito_mode_prefs.h" 44 #include "chrome/browser/prefs/incognito_mode_prefs.h"
44 #include "chrome/browser/prefs/origin_trial_prefs.h" 45 #include "chrome/browser/prefs/origin_trial_prefs.h"
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 chrome_prefs::RegisterProfilePrefs(registry); 489 chrome_prefs::RegisterProfilePrefs(registry);
489 dom_distiller::DistilledPagePrefs::RegisterProfilePrefs(registry); 490 dom_distiller::DistilledPagePrefs::RegisterProfilePrefs(registry);
490 DownloadPrefs::RegisterProfilePrefs(registry); 491 DownloadPrefs::RegisterProfilePrefs(registry);
491 HostContentSettingsMap::RegisterProfilePrefs(registry); 492 HostContentSettingsMap::RegisterProfilePrefs(registry);
492 IncognitoModePrefs::RegisterProfilePrefs(registry); 493 IncognitoModePrefs::RegisterProfilePrefs(registry);
493 InstantUI::RegisterProfilePrefs(registry); 494 InstantUI::RegisterProfilePrefs(registry);
494 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry); 495 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry);
495 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); 496 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry);
496 MediaDeviceIDSalt::RegisterProfilePrefs(registry); 497 MediaDeviceIDSalt::RegisterProfilePrefs(registry);
497 MediaStreamDevicesController::RegisterProfilePrefs(registry); 498 MediaStreamDevicesController::RegisterProfilePrefs(registry);
499 NetPrefObserver::RegisterProfilePrefs(registry);
498 NotifierStateTracker::RegisterProfilePrefs(registry); 500 NotifierStateTracker::RegisterProfilePrefs(registry);
499 ntp_snippets::BookmarkSuggestionsProvider::RegisterProfilePrefs(registry); 501 ntp_snippets::BookmarkSuggestionsProvider::RegisterProfilePrefs(registry);
500 ntp_snippets::ContentSuggestionsService::RegisterProfilePrefs(registry); 502 ntp_snippets::ContentSuggestionsService::RegisterProfilePrefs(registry);
501 ntp_snippets::ForeignSessionsSuggestionsProvider::RegisterProfilePrefs( 503 ntp_snippets::ForeignSessionsSuggestionsProvider::RegisterProfilePrefs(
502 registry); 504 registry);
503 ntp_snippets::RemoteSuggestionsProviderImpl::RegisterProfilePrefs(registry); 505 ntp_snippets::RemoteSuggestionsProviderImpl::RegisterProfilePrefs(registry);
504 ntp_snippets::RequestThrottler::RegisterProfilePrefs(registry); 506 ntp_snippets::RequestThrottler::RegisterProfilePrefs(registry);
505 ntp_snippets::SchedulingRemoteSuggestionsProvider::RegisterProfilePrefs( 507 ntp_snippets::SchedulingRemoteSuggestionsProvider::RegisterProfilePrefs(
506 registry); 508 registry);
507 ntp_snippets::UserClassifier::RegisterProfilePrefs(registry); 509 ntp_snippets::UserClassifier::RegisterProfilePrefs(registry);
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
795 // Added 8/2016. 797 // Added 8/2016.
796 profile_prefs->ClearPref(kStaticEncodings); 798 profile_prefs->ClearPref(kStaticEncodings);
797 profile_prefs->ClearPref(kRecentlySelectedEncoding); 799 profile_prefs->ClearPref(kRecentlySelectedEncoding);
798 800
799 // Added 9/2016. 801 // Added 9/2016.
800 profile_prefs->ClearPref(kWebKitUsesUniversalDetector); 802 profile_prefs->ClearPref(kWebKitUsesUniversalDetector);
801 profile_prefs->ClearPref(kWebKitAllowDisplayingInsecureContent); 803 profile_prefs->ClearPref(kWebKitAllowDisplayingInsecureContent);
802 } 804 }
803 805
804 } // namespace chrome 806 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698