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

Unified Diff: content/worker/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: 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/worker/shared_worker_devtools_agent.h
diff --git a/content/worker/shared_worker_devtools_agent.h b/content/worker/shared_worker_devtools_agent.h
deleted file mode 100644
index bfe0fefd1923e98492018631fea4244b8d19731e..0000000000000000000000000000000000000000
--- a/content/worker/shared_worker_devtools_agent.h
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) 2012 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_
-
-#include <string>
-
-#include "base/basictypes.h"
-
-namespace IPC {
-class Message;
-}
-
-namespace blink {
-class WebSharedWorker;
-class WebString;
-}
-
-namespace content {
-
-class SharedWorkerDevToolsAgent {
- public:
- SharedWorkerDevToolsAgent(int route_id, blink::WebSharedWorker*);
- ~SharedWorkerDevToolsAgent();
-
- // Called on the Worker thread.
- bool OnMessageReceived(const IPC::Message& message);
- void SendDevToolsMessage(const blink::WebString&);
- void SaveDevToolsAgentState(const blink::WebString& state);
-
- private:
- void OnAttach();
- void OnReattach(const std::string&);
- void OnDetach();
- void OnDispatchOnInspectorBackend(const std::string& message);
- void OnPauseWorkerContextOnStart();
- void OnResumeWorkerContext();
-
- bool Send(IPC::Message* message);
- const int route_id_;
- blink::WebSharedWorker* webworker_;
-
- DISALLOW_COPY_AND_ASSIGN(SharedWorkerDevToolsAgent);
-};
-
-} // namespace content
-
-#endif // CONTENT_WORKER_SHARED_WORKER_DEVTOOLS_AGENT_H_

Powered by Google App Engine
This is Rietveld 408576698