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

Side by Side Diff: public/web/WebWorkerContentSettingsClientProxy.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 unified diff | Download patch
« no previous file with comments | « public/web/WebSharedWorkerClient.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
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WebWorkerContentSettingsClientProxy_h
6 #define WebWorkerContentSettingsClientProxy_h
7
8 #include "public/platform/WebPermissionCallbacks.h"
9
10 namespace blink {
11
12 class WebPermissionCallbacks;
13 class WebString;
14
15 // Proxy interface to talk to the document's ContentSettingsClient
16 // implementation.
17 // This proxy is created by the embedder and is passed to the worker's
18 // WorkerGlobalScope in blink. Each allow method is called on the worker thread
19 // and may destructed on the worker thread.
20 class WebWorkerContentSettingsClientProxy {
21 public:
22 virtual ~WebWorkerContentSettingsClientProxy() { }
23
24 // Deprecated: This function should be removed.
25 virtual bool allowDatabase(const WebString& name, const WebString& displayNa me, unsigned long estimatedSize)
26 {
27 return true;
28 }
29
30 virtual bool requestFileSystemAccessSync()
31 {
32 return true;
33 }
34
35 virtual bool allowIndexedDB(const WebString& name)
36 {
37 return true;
38 }
39 };
40
41 } // namespace blink
42
43 #endif // WebWorkerContentSettingsClientProxy_h
OLDNEW
« no previous file with comments | « public/web/WebSharedWorkerClient.h ('k') | public/web/WebWorkerPermissionClientProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698