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

Unified Diff: content/worker/content_worker_client.h

Issue 6990059: DevTools: devtools message plumbing between worker and page processes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/content_worker_client.h
diff --git a/content/worker/content_worker_client.h b/content/worker/content_worker_client.h
new file mode 100644
index 0000000000000000000000000000000000000000..b5a8b200908d670b72d2e0ea89737cabec1dcc69
--- /dev/null
+++ b/content/worker/content_worker_client.h
@@ -0,0 +1,31 @@
+// 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.
+
+#ifndef CONTENT_WORKER_CONTENT_WORKER_CLIENT_H_
+#define CONTENT_WORKER_CONTENT_WORKER_CLIENT_H_
+#pragma once
+
+class WebWorkerBase;
+class WebWorkerStub;
+
+namespace WebKit {
+class WebWorker;
+class WebWorkerClient;
+}
+
+namespace content {
+
+// Embedder API for participating in worker logic.
+class ContentWorkerClient {
+ public:
+ // Notifies us that the WebWorkerStub has been created.
+ virtual void WebWorkerStubCreated(WebWorkerStub*, WebKit::WebWorker*,
+ int route_id);
+ virtual void WebWorkerProxyCreated(WebWorkerBase*, int route_id,
jam 2011/05/24 20:21:31 nit comment
Dmitry Titov 2011/05/25 01:38:44 I'd remove the comment on the previous method - it
yurys 2011/05/25 17:28:29 This file has been removed.
+ WebKit::WebWorkerClient*);
+};
+
+} // namespace content
+
+#endif // CONTENT_WORKER_CONTENT_WORKER_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698