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

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

Issue 6793045: Change text of DNS prefetch option to Network prediction option. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove trailing period Created 9 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_NET_NET_PREF_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_NET_NET_PREF_OBSERVER_H_
6 #define CHROME_BROWSER_NET_NET_PREF_OBSERVER_H_ 6 #define CHROME_BROWSER_NET_NET_PREF_OBSERVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 22 matching lines...) Expand all
33 virtual void Observe(NotificationType type, 33 virtual void Observe(NotificationType type,
34 const NotificationSource& source, 34 const NotificationSource& source,
35 const NotificationDetails& details); 35 const NotificationDetails& details);
36 36
37 static void RegisterPrefs(PrefService* prefs); 37 static void RegisterPrefs(PrefService* prefs);
38 38
39 private: 39 private:
40 // If |pref_name| is NULL, all monitored preferences will be applied. 40 // If |pref_name| is NULL, all monitored preferences will be applied.
41 void ApplySettings(const std::string* pref_name); 41 void ApplySettings(const std::string* pref_name);
42 42
43 BooleanPrefMember dns_prefetching_enabled_; 43 BooleanPrefMember network_prediction_enabled_;
44 BooleanPrefMember spdy_disabled_; 44 BooleanPrefMember spdy_disabled_;
45 BooleanPrefMember http_throttling_enabled_; 45 BooleanPrefMember http_throttling_enabled_;
46 scoped_refptr<prerender::PrerenderManager> prerender_manager_; 46 scoped_refptr<prerender::PrerenderManager> prerender_manager_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(NetPrefObserver); 48 DISALLOW_COPY_AND_ASSIGN(NetPrefObserver);
49 }; 49 };
50 50
51 #endif // CHROME_BROWSER_NET_NET_PREF_OBSERVER_H_ 51 #endif // CHROME_BROWSER_NET_NET_PREF_OBSERVER_H_
52 52
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698