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

Unified Diff: content/worker/webworkerclient_proxy.h

Issue 6990059: DevTools: devtools message plumbing between worker and page processes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed extra line Created 9 years, 7 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
« no previous file with comments | « content/worker/webworker_stub.cc ('k') | content/worker/webworkerclient_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/worker/webworkerclient_proxy.h
diff --git a/content/worker/webworkerclient_proxy.h b/content/worker/webworkerclient_proxy.h
index 66268a29ce42efd6cf653f0e521a6f8165e0237f..31c0340d86f4fdc9096ad16cb3b6d533106ac3ba 100644
--- a/content/worker/webworkerclient_proxy.h
+++ b/content/worker/webworkerclient_proxy.h
@@ -20,6 +20,7 @@ class WebWorker;
}
class WebWorkerStubBase;
+class WorkerDevToolsAgent;
// This class receives IPCs from the renderer and calls the WebCore::Worker
// implementation (after the data types have been converted by glue code). It
@@ -78,9 +79,14 @@ class WebWorkerClientProxy : public WebKit::WebWorkerClient {
long long size,
bool create,
WebKit::WebFileSystemCallbacks* callbacks);
+ virtual void dispatchDevToolsMessage(const WebKit::WebString&);
void EnsureWorkerContextTerminates();
+ void set_devtools_agent(WorkerDevToolsAgent* devtools_agent) {
+ devtools_agent_ = devtools_agent;
+ }
+
private:
bool Send(IPC::Message* message);
@@ -88,6 +94,7 @@ class WebWorkerClientProxy : public WebKit::WebWorkerClient {
int appcache_host_id_;
WebWorkerStubBase* stub_;
ScopedRunnableMethodFactory<WebWorkerClientProxy> kill_process_factory_;
+ WorkerDevToolsAgent* devtools_agent_;
DISALLOW_COPY_AND_ASSIGN(WebWorkerClientProxy);
};
« no previous file with comments | « content/worker/webworker_stub.cc ('k') | content/worker/webworkerclient_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698