| Index: public/platform/modules/quota/WebDurableStorageDispatcher.h
|
| diff --git a/public/platform/modules/quota/WebDurableStorageDispatcher.h b/public/platform/modules/quota/WebDurableStorageDispatcher.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..faf7c0d311f0681249e51b6f8c4695548e2b3e81
|
| --- /dev/null
|
| +++ b/public/platform/modules/quota/WebDurableStorageDispatcher.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef WebDurableStorageDispatcher_h
|
| +#define WebDurableStorageDispatcher_h
|
| +
|
| +namespace blink {
|
| +
|
| +class WebURL;
|
| +
|
| +enum WebDurableStoragePermission { Default, Denied, Granted };
|
| +
|
| +class WebDurableStoragePermissionCallbacks {
|
| +public:
|
| + virtual void didGetPermission(WebDurableStoragePermission) = 0;
|
| + virtual ~WebDurableStoragePermissionCallbacks() { }
|
| +};
|
| +
|
| +class WebDurableStorageDispatcher {
|
| +public:
|
| + virtual void requestPermission(const WebURL& url, WebDurableStoragePermissionCallbacks* callbacks) { }
|
| +
|
| + virtual ~WebDurableStorageDispatcher() { }
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // WebDurableStorageDispatcher_h
|
|
|