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

Unified Diff: public/web/WebSharedWorkerClient.h

Issue 973103003: Revert of Rename WorkerPermissionClient and friends to WorkerContentSettingsClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « public/web/WebServiceWorkerContextClient.h ('k') | public/web/WebWorkerContentSettingsClientProxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebSharedWorkerClient.h
diff --git a/public/web/WebSharedWorkerClient.h b/public/web/WebSharedWorkerClient.h
index 2b661071ea2d188e1bb730acce109e6a58bb8107..098fcaa4f3ad486cfa076f48a1fd4339d45a9059 100644
--- a/public/web/WebSharedWorkerClient.h
+++ b/public/web/WebSharedWorkerClient.h
@@ -31,8 +31,7 @@
#ifndef WebSharedWorkerClient_h
#define WebSharedWorkerClient_h
-#include "public/platform/WebMessagePortChannel.h"
-#include "public/web/WebWorkerPermissionClientProxy.h"
+#include "../platform/WebMessagePortChannel.h"
namespace blink {
@@ -44,7 +43,7 @@
class WebServiceWorkerNetworkProvider;
class WebString;
class WebWorker;
-class WebWorkerContentSettingsClientProxy;
+class WebWorkerPermissionClientProxy;
// Provides an interface back to the in-page script object for a worker.
// All functions are expected to be called back on the thread that created
@@ -67,14 +66,9 @@
virtual WebApplicationCacheHost* createApplicationCacheHost(WebApplicationCacheHostClient*) = 0;
// Called on the main thread during initialization.
- // WebWorkerContentSettingsClientProxy should not retain the given
+ // WebWorkerPermissionClientProxy should not retain the given
// WebSecurityOrigin, as the proxy instance is passed to worker thread
// while WebSecurityOrigin is not thread safe.
- virtual WebWorkerContentSettingsClientProxy* createWorkerContentSettingsClientProxy(const WebSecurityOrigin& origin)
- {
- return createWorkerPermissionClientProxy(origin);
- }
- // Deprecated call required by embedder.
virtual WebWorkerPermissionClientProxy* createWorkerPermissionClientProxy(const WebSecurityOrigin&) { return nullptr; }
// Called on the main thread during initialization.
« no previous file with comments | « public/web/WebServiceWorkerContextClient.h ('k') | public/web/WebWorkerContentSettingsClientProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698