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

Unified Diff: content/worker/webworker_stub.h

Issue 6990059: DevTools: devtools message plumbing between worker and page processes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed, WebWorkerBase::DevToolsDelegate removed 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
Index: content/worker/webworker_stub.h
diff --git a/content/worker/webworker_stub.h b/content/worker/webworker_stub.h
index ff93cddec3b2c528caa0fde81da141b47251a3b9..06b4b10e9ddcaa3eadfc911aa4849d98af93279e 100644
--- a/content/worker/webworker_stub.h
+++ b/content/worker/webworker_stub.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -6,6 +6,7 @@
#define CONTENT_WORKER_WEBWORKER_STUB_H_
#pragma once
+#include "base/scoped_ptr.h"
#include "content/worker/webworker_stub_base.h"
#include "content/worker/webworkerclient_proxy.h"
#include "googleurl/src/gurl.h"
@@ -14,6 +15,8 @@ namespace WebKit {
class WebWorker;
}
+class WorkerDevToolsAgent;
+
// This class creates a WebWorker, and translates incoming IPCs to the
// appropriate WebWorker APIs.
class WebWorkerStub : public WebWorkerStubBase {
@@ -37,6 +40,7 @@ class WebWorkerStub : public WebWorkerStubBase {
WebKit::WebWorker* impl_;
GURL url_;
+ scoped_ptr<WorkerDevToolsAgent> worker_devtools_agent_;
DISALLOW_COPY_AND_ASSIGN(WebWorkerStub);
};

Powered by Google App Engine
This is Rietveld 408576698