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

Side by Side Diff: public/web/WebSharedWorkerClient.h

Issue 968203002: Remove all references from WebWorkerPermissionClientProxy in Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@worker_permission_client
Patch Set: rebase 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
« no previous file with comments | « public/web/WebFrameClient.h ('k') | public/web/WebWorkerPermissionClientProxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 14 matching lines...) Expand all
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef WebSharedWorkerClient_h 31 #ifndef WebSharedWorkerClient_h
32 #define WebSharedWorkerClient_h 32 #define WebSharedWorkerClient_h
33 33
34 #include "public/platform/WebMessagePortChannel.h" 34 #include "public/platform/WebMessagePortChannel.h"
35 #include "public/web/WebWorkerPermissionClientProxy.h"
36 35
37 namespace blink { 36 namespace blink {
38 37
39 class WebApplicationCacheHost; 38 class WebApplicationCacheHost;
40 class WebApplicationCacheHostClient; 39 class WebApplicationCacheHostClient;
41 class WebDataSource; 40 class WebDataSource;
42 class WebNotificationPresenter; 41 class WebNotificationPresenter;
43 class WebSecurityOrigin; 42 class WebSecurityOrigin;
44 class WebServiceWorkerNetworkProvider; 43 class WebServiceWorkerNetworkProvider;
45 class WebString; 44 class WebString;
(...skipping 17 matching lines...) Expand all
63 virtual WebNotificationPresenter* notificationPresenter() = 0; 62 virtual WebNotificationPresenter* notificationPresenter() = 0;
64 63
65 // Called on the main webkit thread in the worker process during 64 // Called on the main webkit thread in the worker process during
66 // initialization. 65 // initialization.
67 virtual WebApplicationCacheHost* createApplicationCacheHost(WebApplicationCa cheHostClient*) = 0; 66 virtual WebApplicationCacheHost* createApplicationCacheHost(WebApplicationCa cheHostClient*) = 0;
68 67
69 // Called on the main thread during initialization. 68 // Called on the main thread during initialization.
70 // WebWorkerContentSettingsClientProxy should not retain the given 69 // WebWorkerContentSettingsClientProxy should not retain the given
71 // WebSecurityOrigin, as the proxy instance is passed to worker thread 70 // WebSecurityOrigin, as the proxy instance is passed to worker thread
72 // while WebSecurityOrigin is not thread safe. 71 // while WebSecurityOrigin is not thread safe.
73 virtual WebWorkerContentSettingsClientProxy* createWorkerContentSettingsClie ntProxy(const WebSecurityOrigin& origin) 72 virtual WebWorkerContentSettingsClientProxy* createWorkerContentSettingsClie ntProxy(const WebSecurityOrigin& origin) { return nullptr; }
74 {
75 return createWorkerPermissionClientProxy(origin);
76 }
77 // Deprecated call required by embedder.
78 virtual WebWorkerPermissionClientProxy* createWorkerPermissionClientProxy(co nst WebSecurityOrigin&) { return nullptr; }
79 73
80 // Called on the main thread during initialization. 74 // Called on the main thread during initialization.
81 // Ownership of the returned object is transferred to the caller. 75 // Ownership of the returned object is transferred to the caller.
82 virtual WebServiceWorkerNetworkProvider* createServiceWorkerNetworkProvider( WebDataSource*) { return nullptr; } 76 virtual WebServiceWorkerNetworkProvider* createServiceWorkerNetworkProvider( WebDataSource*) { return nullptr; }
83 77
84 virtual void sendDevToolsMessage(int callId, const WebString& message, const WebString& state) { } 78 virtual void sendDevToolsMessage(int callId, const WebString& message, const WebString& state) { }
85 }; 79 };
86 80
87 } // namespace blink 81 } // namespace blink
88 82
89 #endif 83 #endif
OLDNEW
« no previous file with comments | « public/web/WebFrameClient.h ('k') | public/web/WebWorkerPermissionClientProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698