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

Side by Side Diff: chrome/browser/net/net_pref_observer.cc

Issue 998383002: Created policy QuicAllowed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/net/net_pref_observer.h" 5 #include "chrome/browser/net/net_pref_observer.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/prefs/pref_service.h" 9 #include "base/prefs/pref_service.h"
10 #include "chrome/common/pref_names.h" 10 #include "chrome/common/pref_names.h"
(...skipping 29 matching lines...) Expand all
40 void NetPrefObserver::RegisterProfilePrefs( 40 void NetPrefObserver::RegisterProfilePrefs(
41 user_prefs::PrefRegistrySyncable* registry) { 41 user_prefs::PrefRegistrySyncable* registry) {
42 registry->RegisterBooleanPref( 42 registry->RegisterBooleanPref(
43 prefs::kNetworkPredictionEnabled, 43 prefs::kNetworkPredictionEnabled,
44 true, 44 true,
45 user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); 45 user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
46 registry->RegisterBooleanPref( 46 registry->RegisterBooleanPref(
47 prefs::kDisableSpdy, 47 prefs::kDisableSpdy,
48 false, 48 false,
49 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); 49 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
50 registry->RegisterBooleanPref(
51 prefs::kQuicEnabled,
Andrew T Wilson (Slow) 2015/03/12 17:23:34 How is this pref used? You are reading directly fr
peletskyi 2015/03/13 12:00:40 No use. This Pref was removed.
52 true,
53 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
50 } 54 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698