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

Side by Side Diff: content/browser/debugger/devtools_agent_host.h

Issue 8549022: Define DevTools content API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DevToolsManager -> DevToolsManagerImpl, moved client to public Created 9 years, 1 month 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 CONTENT_BROWSER_DEBUGGER_DEVTOOLS_AGENT_HOST_H_ 5 #ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_AGENT_HOST_H_
6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_AGENT_HOST_H_ 6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_AGENT_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "content/common/content_export.h" 11 #include "content/common/content_export.h"
12 12
13 namespace IPC { 13 namespace IPC {
14 class Message; 14 class Message;
15 } 15 }
16 16
17 namespace content {
18
17 // Describes interface for managing devtools agents from the browser process. 19 // Describes interface for managing devtools agents from the browser process.
18 class CONTENT_EXPORT DevToolsAgentHost { 20 class CONTENT_EXPORT DevToolsAgentHost {
19 public: 21 public:
20 class CONTENT_EXPORT CloseListener { 22 class CONTENT_EXPORT CloseListener {
21 public: 23 public:
22 virtual void AgentHostClosing(DevToolsAgentHost*) = 0; 24 virtual void AgentHostClosing(DevToolsAgentHost*) = 0;
23 protected: 25 protected:
24 virtual ~CloseListener() {} 26 virtual ~CloseListener() {}
25 }; 27 };
26 28
(...skipping 14 matching lines...) Expand all
41 43
42 protected: 44 protected:
43 DevToolsAgentHost(); 45 DevToolsAgentHost();
44 virtual ~DevToolsAgentHost() {} 46 virtual ~DevToolsAgentHost() {}
45 47
46 void NotifyCloseListener(); 48 void NotifyCloseListener();
47 49
48 CloseListener* close_listener_; 50 CloseListener* close_listener_;
49 }; 51 };
50 52
53 } // namespace content
54
51 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_AGENT_HOST_H_ 55 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_AGENT_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698