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

Unified Diff: content/renderer/shared_worker/embedded_shared_worker_devtools_agent.h

Issue 158953008: Implementations of SharedWorker in the renderer process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@WorkerMessages
Patch Set: Incorporated kinuko's comments. 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/renderer/shared_worker/embedded_shared_worker_devtools_agent.h
diff --git a/content/worker/shared_worker_devtools_agent.h b/content/renderer/shared_worker/embedded_shared_worker_devtools_agent.h
similarity index 58%
copy from content/worker/shared_worker_devtools_agent.h
copy to content/renderer/shared_worker/embedded_shared_worker_devtools_agent.h
index bfe0fefd1923e98492018631fea4244b8d19731e..3d680e326b343ab118428b214798b778d36f71c3 100644
--- a/content/worker/shared_worker_devtools_agent.h
+++ b/content/renderer/shared_worker/embedded_shared_worker_devtools_agent.h
@@ -1,31 +1,30 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright 2014 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_SHARED_WORKER_DEVTOOLS_AGENT_H_
-#define CONTENT_WORKER_SHARED_WORKER_DEVTOOLS_AGENT_H_
+#ifndef CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_DEVTOOLS_AGENT_H
+#define CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_DEVTOOLS_AGENT_H
#include <string>
-#include "base/basictypes.h"
-
-namespace IPC {
-class Message;
-}
+#include "base/macros.h"
namespace blink {
class WebSharedWorker;
class WebString;
}
+namespace IPC {
+class Message;
+}
+
namespace content {
-class SharedWorkerDevToolsAgent {
+class EmbeddedSharedWorkerDevToolsAgent {
kinuko 2014/02/13 06:09:36 Will we need a separate class from SharedWorkerDev
horo 2014/02/13 08:54:20 I moved shared_worker_devtools_agent.* to content/
public:
- SharedWorkerDevToolsAgent(int route_id, blink::WebSharedWorker*);
- ~SharedWorkerDevToolsAgent();
+ EmbeddedSharedWorkerDevToolsAgent(int route_id, blink::WebSharedWorker*);
+ ~EmbeddedSharedWorkerDevToolsAgent();
- // Called on the Worker thread.
bool OnMessageReceived(const IPC::Message& message);
void SendDevToolsMessage(const blink::WebString&);
void SaveDevToolsAgentState(const blink::WebString& state);
@@ -42,9 +41,9 @@ class SharedWorkerDevToolsAgent {
const int route_id_;
blink::WebSharedWorker* webworker_;
- DISALLOW_COPY_AND_ASSIGN(SharedWorkerDevToolsAgent);
+ DISALLOW_COPY_AND_ASSIGN(EmbeddedSharedWorkerDevToolsAgent);
};
} // namespace content
-#endif // CONTENT_WORKER_SHARED_WORKER_DEVTOOLS_AGENT_H_
+#endif // CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_DEVTOOLS_AGENT_H
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/shared_worker/embedded_shared_worker_devtools_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698