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.
5 #ifndef WebWorkerContentSettingsClientProxy_h
6 #define WebWorkerContentSettingsClientProxy_h
12 // Proxy interface to talk to the document's ContentSettingsClient
14 // This proxy is created by the embedder and is passed to the worker's
15 // WorkerGlobalScope in blink. Each allow method is called on the worker thread
16 // and may destructed on the worker thread.
17 class WebWorkerContentSettingsClientProxy
{
19 virtual ~WebWorkerContentSettingsClientProxy() { }
21 // Deprecated: This function should be removed.
22 virtual bool allowDatabase(const WebString
& name
, const WebString
& displayName
, unsigned long estimatedSize
)
27 virtual bool requestFileSystemAccessSync()
32 virtual bool allowIndexedDB(const WebString
& name
)
40 #endif // WebWorkerContentSettingsClientProxy_h