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

Unified Diff: content/browser/devtools/devtools_http_handler_impl.h

Issue 12906011: Detect debugging target crash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/devtools/devtools_http_handler_impl.h
diff --git a/content/browser/devtools/devtools_http_handler_impl.h b/content/browser/devtools/devtools_http_handler_impl.h
index 3f05f9715a0e5d3ca05483175232a43da97f9541..1be0e67cadd295593ece5a7b8a74ed123820ccea 100644
--- a/content/browser/devtools/devtools_http_handler_impl.h
+++ b/content/browser/devtools/devtools_http_handler_impl.h
@@ -15,8 +15,6 @@
#include "content/common/content_export.h"
#include "content/public/browser/devtools_http_handler.h"
#include "content/public/browser/devtools_http_handler_delegate.h"
-#include "content/public/browser/notification_observer.h"
-#include "content/public/browser/notification_registrar.h"
#include "net/server/http_server.h"
namespace base {
@@ -37,7 +35,6 @@ class DevToolsClientHost;
class DevToolsHttpHandlerImpl
: public DevToolsHttpHandler,
- public NotificationObserver,
public base::RefCountedThreadSafe<DevToolsHttpHandlerImpl>,
public net::HttpServer::Delegate {
private:
@@ -57,11 +54,6 @@ class DevToolsHttpHandlerImpl
DevToolsAgentHostBinding* binding) OVERRIDE;
virtual GURL GetFrontendURL(DevToolsAgentHost* agent_host) OVERRIDE;
- // NotificationObserver implementation.
- virtual void Observe(int type,
- const NotificationSource& source,
- const NotificationDetails& details) OVERRIDE;
-
// net::HttpServer::Delegate implementation.
virtual void OnHttpRequest(int connection_id,
const net::HttpServerRequestInfo& info) OVERRIDE;
@@ -122,7 +114,6 @@ class DevToolsHttpHandlerImpl
scoped_ptr<DevToolsHttpHandlerDelegate> delegate_;
DevToolsAgentHostBinding* binding_;
scoped_ptr<DevToolsAgentHostBinding> default_binding_;
- NotificationRegistrar registrar_;
scoped_ptr<DevToolsBrowserTarget> browser_target_;
DISALLOW_COPY_AND_ASSIGN(DevToolsHttpHandlerImpl);
};

Powered by Google App Engine
This is Rietveld 408576698