Chromium Code Reviews| 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 |