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

Side by Side Diff: content/renderer/shared_worker/embedded_shared_worker_stub.h

Issue 223583002: Revert of Make DevTools support for the embedded SharedWorker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_STUB_H 5 #ifndef CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_STUB_H
6 #define CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_STUB_H 6 #define CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_STUB_H
7 7
8 #include "content/child/child_message_filter.h" 8 #include "content/child/child_message_filter.h"
9 #include "content/child/scoped_child_process_reference.h" 9 #include "content/child/scoped_child_process_reference.h"
10 #include "ipc/ipc_listener.h" 10 #include "ipc/ipc_listener.h"
(...skipping 17 matching lines...) Expand all
28 class WebMessagePortChannelImpl; 28 class WebMessagePortChannelImpl;
29 29
30 class EmbeddedSharedWorkerStub : public IPC::Listener, 30 class EmbeddedSharedWorkerStub : public IPC::Listener,
31 public blink::WebSharedWorkerClient { 31 public blink::WebSharedWorkerClient {
32 public: 32 public:
33 EmbeddedSharedWorkerStub( 33 EmbeddedSharedWorkerStub(
34 const GURL& url, 34 const GURL& url,
35 const base::string16& name, 35 const base::string16& name,
36 const base::string16& content_security_policy, 36 const base::string16& content_security_policy,
37 blink::WebContentSecurityPolicyType security_policy_type, 37 blink::WebContentSecurityPolicyType security_policy_type,
38 bool pause_on_start,
39 int route_id); 38 int route_id);
40 39
41 // IPC::Listener implementation. 40 // IPC::Listener implementation.
42 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 41 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
43 virtual void OnChannelError() OVERRIDE; 42 virtual void OnChannelError() OVERRIDE;
44 43
45 // blink::WebSharedWorkerClient implementation. 44 // blink::WebSharedWorkerClient implementation.
46 virtual void workerContextClosed() OVERRIDE; 45 virtual void workerContextClosed() OVERRIDE;
47 virtual void workerContextDestroyed() OVERRIDE; 46 virtual void workerContextDestroyed() OVERRIDE;
48 virtual void workerScriptLoaded() OVERRIDE; 47 virtual void workerScriptLoaded() OVERRIDE;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 typedef std::vector<WebMessagePortChannelImpl*> PendingChannelList; 79 typedef std::vector<WebMessagePortChannelImpl*> PendingChannelList;
81 PendingChannelList pending_channels_; 80 PendingChannelList pending_channels_;
82 81
83 ScopedChildProcessReference process_ref_; 82 ScopedChildProcessReference process_ref_;
84 DISALLOW_COPY_AND_ASSIGN(EmbeddedSharedWorkerStub); 83 DISALLOW_COPY_AND_ASSIGN(EmbeddedSharedWorkerStub);
85 }; 84 };
86 85
87 } // namespace content 86 } // namespace content
88 87
89 #endif // CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_STUB_H 88 #endif // CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_STUB_H
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/shared_worker/embedded_shared_worker_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698