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

Unified Diff: public/web/WebWorkerPermissionClientProxy.h

Issue 968163003: Rename WorkerPermissionClient and friends to WorkerContentSettingsClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « public/web/WebWorkerContentSettingsClientProxy.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebWorkerPermissionClientProxy.h
diff --git a/public/web/WebWorkerPermissionClientProxy.h b/public/web/WebWorkerPermissionClientProxy.h
index 95b2c4d0b297639c89120387bd570a1a28384f85..3d7a29e32311117bebd85903c78347f6c6f1cfcc 100644
--- a/public/web/WebWorkerPermissionClientProxy.h
+++ b/public/web/WebWorkerPermissionClientProxy.h
@@ -31,36 +31,11 @@
#ifndef WebWorkerPermissionClientProxy_h
#define WebWorkerPermissionClientProxy_h
-#include "public/platform/WebPermissionCallbacks.h"
+#include "public/web/WebWorkerContentSettingsClientProxy.h"
namespace blink {
-class WebPermissionCallbacks;
-class WebString;
-
-// Proxy interface to talk to the document's PermissionClient implementation.
-// This proxy is created by the embedder and is passed to the worker's
-// WorkerGlobalScope in blink. Each allow method is called on the worker thread
-// and may destructed on the worker thread.
-class WebWorkerPermissionClientProxy {
-public:
- virtual ~WebWorkerPermissionClientProxy() { }
-
- // Deprecated: This function should be removed.
- virtual bool allowDatabase(const WebString& name, const WebString& displayName, unsigned long estimatedSize)
- {
- return true;
- }
-
- virtual bool requestFileSystemAccessSync()
- {
- return true;
- }
-
- virtual bool allowIndexedDB(const WebString& name)
- {
- return true;
- }
+class WebWorkerPermissionClientProxy : public WebWorkerContentSettingsClientProxy {
};
} // namespace blink
« no previous file with comments | « public/web/WebWorkerContentSettingsClientProxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698