summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/http_server_properties_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/net/http_server_properties_manager.h')
-rw-r--r--chrome/browser/net/http_server_properties_manager.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/chrome/browser/net/http_server_properties_manager.h b/chrome/browser/net/http_server_properties_manager.h
index 07e34ba..d71813e 100644
--- a/chrome/browser/net/http_server_properties_manager.h
+++ b/chrome/browser/net/http_server_properties_manager.h
@@ -12,7 +12,6 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/prefs/public/pref_change_registrar.h"
-#include "base/prefs/public/pref_observer.h"
#include "base/timer.h"
#include "base/values.h"
#include "net/base/host_port_pair.h"
@@ -47,8 +46,7 @@ namespace chrome_browser_net {
// posted to IO from that method on UI. This is used to go through IO before
// the actual update starts, and grab a WeakPtr.
class HttpServerPropertiesManager
- : public net::HttpServerProperties,
- public PrefObserver {
+ : public net::HttpServerProperties {
public:
// Create an instance of the HttpServerPropertiesManager. The lifetime of the
// PrefService objects must be longer than that of the
@@ -194,9 +192,7 @@ class HttpServerPropertiesManager
const base::Closure& completion);
private:
- // Callback for preference changes.
- virtual void OnPreferenceChanged(PrefServiceBase* service,
- const std::string& pref_name) OVERRIDE;
+ void OnHttpServerPropertiesChanged();
// ---------
// UI thread