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

Unified Diff: content/browser/debugger/render_view_devtools_agent_host.h

Issue 7658013: Revert "DevTools: introduce DevToolsAgentHost" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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/debugger/render_view_devtools_agent_host.h
diff --git a/content/browser/debugger/render_view_devtools_agent_host.h b/content/browser/debugger/render_view_devtools_agent_host.h
deleted file mode 100644
index 972f09e7607528a25296ba59e4a027e4f6ecbccf..0000000000000000000000000000000000000000
--- a/content/browser/debugger/render_view_devtools_agent_host.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_BROWSER_DEBUGGER_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_
-#define CONTENT_BROWSER_DEBUGGER_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_
-#pragma once
-
-#include <map>
-
-#include "base/basictypes.h"
-#include "content/browser/debugger/devtools_agent_host.h"
-#include "content/common/notification_observer.h"
-#include "content/common/notification_registrar.h"
-
-class RenderViewHost;
-
-class RenderViewDevToolsAgentHost : public DevToolsAgentHost,
- public NotificationObserver {
- public:
- static DevToolsAgentHost* FindFor(RenderViewHost*);
- static DevToolsAgentHost* CreateFor(RenderViewHost*);
-
- private:
- RenderViewDevToolsAgentHost(RenderViewHost*);
- virtual ~RenderViewDevToolsAgentHost();
-
- // DevToolsAgentHost implementation.
- virtual void SendMessageToAgent(IPC::Message* msg);
- virtual void NotifyClientClosing();
- virtual void ClientDetached();
-
- // Overridden from NotificationObserver:
- virtual void Observe(int type,
- const NotificationSource& source,
- const NotificationDetails& details);
-
- RenderViewHost* render_view_host_;
- NotificationRegistrar registrar_;
-
- typedef std::map<RenderViewHost*, RenderViewDevToolsAgentHost*> Instances;
- static Instances instances_;
-
- DISALLOW_COPY_AND_ASSIGN(RenderViewDevToolsAgentHost);
-};
-
-#endif // CONTENT_BROWSER_DEBUGGER_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_
« no previous file with comments | « content/browser/debugger/devtools_manager.cc ('k') | content/browser/debugger/render_view_devtools_agent_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698