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

Unified Diff: content/renderer/webworker_base.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/renderer/websharedworker_proxy.cc ('k') | content/renderer/webworker_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/webworker_base.h
diff --git a/content/renderer/webworker_base.h b/content/renderer/webworker_base.h
index 7ea07b3672f9b956293d51911fc20c4eb70f48ea..76f5868a79c8f8349c0f2cdc9f1c3e507cd51022 100644
--- a/content/renderer/webworker_base.h
+++ b/content/renderer/webworker_base.h
@@ -6,13 +6,16 @@
#define CONTENT_RENDERER_WEBWORKER_BASE_H_
#pragma once
+#include <string>
#include <vector>
#include "base/basictypes.h"
+#include "base/scoped_ptr.h"
#include "ipc/ipc_channel.h"
class ChildThread;
class GURL;
+class WorkerDevToolsAgentProxy;
// WebWorkerBase is the common base class used by both WebWorkerProxy and
// WebSharedWorker. It contains logic to support starting up both dedicated
@@ -63,7 +66,8 @@ class WebWorkerBase : public IPC::Channel::Listener {
unsigned long long document_id,
int route_id,
int render_view_route_id,
- int parent_appcache_host_id);
+ int parent_appcache_host_id,
+ WorkerDevToolsAgentProxy*);
// Routing id associated with this worker - used to receive messages from the
// worker, and also to route messages to the worker (WorkerService contains
@@ -76,6 +80,8 @@ class WebWorkerBase : public IPC::Channel::Listener {
ChildThread* child_thread_;
+ scoped_ptr<WorkerDevToolsAgentProxy> devtools_proxy_;
+
private:
void CreateWorkerContext(const GURL& script_url,
bool is_shared,
« no previous file with comments | « content/renderer/websharedworker_proxy.cc ('k') | content/renderer/webworker_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698