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

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

Issue 7648032: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_AGENT_HOST_H_
6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_AGENT_HOST_H_
7 #pragma once
8
9 namespace IPC {
10 class Message;
11 }
12
13 // Describes interface for managing devtools agents from the browser process.
14 class DevToolsAgentHost {
15 public:
16 // Sends the message to the devtools agent hosted by this object.
17 virtual void SendMessageToAgent(IPC::Message* msg) = 0;
18
19 // TODO(yurys): get rid of this method
20 virtual void NotifyClientClosing() = 0;
21
22 virtual void ClientDetached() = 0;
23
24 int routing_id() const { return routing_id_; }
pfeldman 2011/08/16 06:48:57 Could you assign routing id within agent host impl
yurys 2011/08/16 08:14:48 Done.
25
26 protected:
27 explicit DevToolsAgentHost(int routing_id) : routing_id_(routing_id) {}
28 virtual ~DevToolsAgentHost() {}
29
30 private:
31 int routing_id_;
32 };
pfeldman 2011/08/16 06:48:57 DISALLOW_COPY_AND_ASSIGN ?
yurys 2011/08/16 08:14:48 The class is abstract, no need to put the declarat
33
34 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_AGENT_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/debugger/devtools_manager.h » ('j') | content/browser/debugger/devtools_manager.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698