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

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

Issue 968983002: Rename blink::WebWorkerPermissionProxyClient to blink::WebWorkerContentSettingsProxyClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gypi typo Created 5 years, 9 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 <vector> 8 #include <vector>
9 9
10 #include "content/child/child_message_filter.h" 10 #include "content/child/child_message_filter.h"
11 #include "content/child/scoped_child_process_reference.h" 11 #include "content/child/scoped_child_process_reference.h"
12 #include "ipc/ipc_listener.h" 12 #include "ipc/ipc_listener.h"
13 #include "third_party/WebKit/public/platform/WebString.h" 13 #include "third_party/WebKit/public/platform/WebString.h"
14 #include "third_party/WebKit/public/web/WebContentSecurityPolicy.h" 14 #include "third_party/WebKit/public/web/WebContentSecurityPolicy.h"
15 #include "third_party/WebKit/public/web/WebSharedWorkerClient.h" 15 #include "third_party/WebKit/public/web/WebSharedWorkerClient.h"
16 #include "url/gurl.h" 16 #include "url/gurl.h"
17 17
18 namespace blink { 18 namespace blink {
19 class WebApplicationCacheHost; 19 class WebApplicationCacheHost;
20 class WebApplicationCacheHostClient; 20 class WebApplicationCacheHostClient;
21 class WebMessagePortChannel; 21 class WebMessagePortChannel;
22 class WebNotificationPresenter; 22 class WebNotificationPresenter;
23 class WebSecurityOrigin; 23 class WebSecurityOrigin;
24 class WebSharedWorker; 24 class WebSharedWorker;
25 class WebWorkerPermissionClientProxy; 25 class WebWorkerContentSettingsClientProxy;
26 } 26 }
27 27
28 namespace content { 28 namespace content {
29 class SharedWorkerDevToolsAgent; 29 class SharedWorkerDevToolsAgent;
30 class WebApplicationCacheHostImpl; 30 class WebApplicationCacheHostImpl;
31 class WebMessagePortChannelImpl; 31 class WebMessagePortChannelImpl;
32 32
33 class EmbeddedSharedWorkerStub : public IPC::Listener, 33 class EmbeddedSharedWorkerStub : public IPC::Listener,
34 public blink::WebSharedWorkerClient { 34 public blink::WebSharedWorkerClient {
35 public: 35 public:
(...skipping 12 matching lines...) Expand all
48 // blink::WebSharedWorkerClient implementation. 48 // blink::WebSharedWorkerClient implementation.
49 virtual void workerContextClosed() override; 49 virtual void workerContextClosed() override;
50 virtual void workerContextDestroyed() override; 50 virtual void workerContextDestroyed() override;
51 virtual void workerReadyForInspection() override; 51 virtual void workerReadyForInspection() override;
52 virtual void workerScriptLoaded() override; 52 virtual void workerScriptLoaded() override;
53 virtual void workerScriptLoadFailed() override; 53 virtual void workerScriptLoadFailed() override;
54 virtual void selectAppCacheID(long long) override; 54 virtual void selectAppCacheID(long long) override;
55 virtual blink::WebNotificationPresenter* notificationPresenter() override; 55 virtual blink::WebNotificationPresenter* notificationPresenter() override;
56 virtual blink::WebApplicationCacheHost* createApplicationCacheHost( 56 virtual blink::WebApplicationCacheHost* createApplicationCacheHost(
57 blink::WebApplicationCacheHostClient*) override; 57 blink::WebApplicationCacheHostClient*) override;
58 virtual blink::WebWorkerPermissionClientProxy* 58 virtual blink::WebWorkerContentSettingsClientProxy*
59 createWorkerPermissionClientProxy( 59 createWorkerContentSettingsClientProxy(
60 const blink::WebSecurityOrigin& origin) override; 60 const blink::WebSecurityOrigin& origin) override;
61 virtual blink::WebServiceWorkerNetworkProvider* 61 virtual blink::WebServiceWorkerNetworkProvider*
62 createServiceWorkerNetworkProvider(blink::WebDataSource*) override; 62 createServiceWorkerNetworkProvider(blink::WebDataSource*) override;
63 virtual void sendDevToolsMessage( 63 virtual void sendDevToolsMessage(
64 int call_id, 64 int call_id,
65 const blink::WebString& message, 65 const blink::WebString& message,
66 const blink::WebString& state) override; 66 const blink::WebString& state) override;
67 67
68 private: 68 private:
69 ~EmbeddedSharedWorkerStub() override; 69 ~EmbeddedSharedWorkerStub() override;
(...skipping 18 matching lines...) Expand all
88 PendingChannelList pending_channels_; 88 PendingChannelList pending_channels_;
89 89
90 ScopedChildProcessReference process_ref_; 90 ScopedChildProcessReference process_ref_;
91 WebApplicationCacheHostImpl* app_cache_host_; 91 WebApplicationCacheHostImpl* app_cache_host_;
92 DISALLOW_COPY_AND_ASSIGN(EmbeddedSharedWorkerStub); 92 DISALLOW_COPY_AND_ASSIGN(EmbeddedSharedWorkerStub);
93 }; 93 };
94 94
95 } // namespace content 95 } // namespace content
96 96
97 #endif // CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_STUB_H_ 97 #endif // CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_STUB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698