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

Side by Side Diff: content/renderer/devtools/devtools_agent.h

Issue 387853002: DevTools: Add processId getter implementation on DevToolsAgent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | content/renderer/devtools/devtools_agent.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_ 5 #ifndef CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_
6 #define CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_ 6 #define CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 bool IsAttached(); 44 bool IsAttached();
45 45
46 private: 46 private:
47 // RenderView::Observer implementation. 47 // RenderView::Observer implementation.
48 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 48 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
49 49
50 // WebDevToolsAgentClient implementation 50 // WebDevToolsAgentClient implementation
51 virtual void sendMessageToInspectorFrontend(const blink::WebString& data); 51 virtual void sendMessageToInspectorFrontend(const blink::WebString& data);
52 52
53 virtual long processId() OVERRIDE;
53 virtual int debuggerId() OVERRIDE; 54 virtual int debuggerId() OVERRIDE;
54 virtual void saveAgentRuntimeState(const blink::WebString& state) OVERRIDE; 55 virtual void saveAgentRuntimeState(const blink::WebString& state) OVERRIDE;
55 virtual blink::WebDevToolsAgentClient::WebKitClientMessageLoop* 56 virtual blink::WebDevToolsAgentClient::WebKitClientMessageLoop*
56 createClientMessageLoop() OVERRIDE; 57 createClientMessageLoop() OVERRIDE;
57 virtual void willEnterDebugLoop() OVERRIDE; 58 virtual void willEnterDebugLoop() OVERRIDE;
58 virtual void didExitDebugLoop() OVERRIDE; 59 virtual void didExitDebugLoop() OVERRIDE;
59 virtual void visitAllocatedObjects(AllocatedObjectVisitor* visitor) OVERRIDE; 60 virtual void visitAllocatedObjects(AllocatedObjectVisitor* visitor) OVERRIDE;
60 61
61 typedef void (*TraceEventCallback)( 62 typedef void (*TraceEventCallback)(
62 char phase, const unsigned char*, const char* name, unsigned long long id, 63 char phase, const unsigned char*, const char* name, unsigned long long id,
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 bool paused_in_mouse_move_; 108 bool paused_in_mouse_move_;
108 109
109 static base::subtle::AtomicWord /* TraceEventCallback */ event_callback_; 110 static base::subtle::AtomicWord /* TraceEventCallback */ event_callback_;
110 111
111 DISALLOW_COPY_AND_ASSIGN(DevToolsAgent); 112 DISALLOW_COPY_AND_ASSIGN(DevToolsAgent);
112 }; 113 };
113 114
114 } // namespace content 115 } // namespace content
115 116
116 #endif // CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_ 117 #endif // CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/devtools/devtools_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698