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

Unified Diff: content/child/shared_worker_devtools_agent.cc

Issue 158953008: Implementations of SharedWorker in the renderer process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@WorkerMessages
Patch Set: rebase Created 6 years, 10 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/child/shared_worker_devtools_agent.cc
diff --git a/content/worker/shared_worker_devtools_agent.cc b/content/child/shared_worker_devtools_agent.cc
similarity index 94%
rename from content/worker/shared_worker_devtools_agent.cc
rename to content/child/shared_worker_devtools_agent.cc
index 733dae1ef7a9731fabc74bb7f0b851dea7a76b39..60152b97a8dcab42d9c2e849d42ea4be63380445 100644
--- a/content/worker/shared_worker_devtools_agent.cc
+++ b/content/child/shared_worker_devtools_agent.cc
@@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/worker/shared_worker_devtools_agent.h"
+#include "content/child/shared_worker_devtools_agent.h"
+#include "content/child/child_thread.h"
#include "content/common/devtools_messages.h"
-#include "content/worker/worker_thread.h"
#include "third_party/WebKit/public/platform/WebCString.h"
#include "third_party/WebKit/public/platform/WebString.h"
#include "third_party/WebKit/public/web/WebSharedWorker.h"
@@ -82,7 +82,7 @@ void SharedWorkerDevToolsAgent::OnResumeWorkerContext() {
}
bool SharedWorkerDevToolsAgent::Send(IPC::Message* message) {
- return WorkerThread::current()->Send(message);
+ return ChildThread::current()->Send(message);
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698