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

Side by Side Diff: public/platform/modules/quota/WebDurableStorageDispatcher.h

Issue 1154573005: Expose Durable Storage API to script (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rename WebSomeCallbacks and SomeCallbacks Created 5 years, 5 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 | Annotate | Revision Log
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 WebDurableStorageDispatcher_h
6 #define WebDurableStorageDispatcher_h
7
8 namespace blink {
9
10 class WebURL;
11
12 enum WebDurableStoragePermission { Default, Denied, Granted };
13
14 class WebDurableStoragePermissionCallbacks {
15 public:
16 virtual void didGetPermission(WebDurableStoragePermission) = 0;
17 virtual ~WebDurableStoragePermissionCallbacks() { }
18 };
19
20 class WebDurableStorageDispatcher {
21 public:
22 virtual void requestPermission(const WebURL& url, WebDurableStoragePermissio nCallbacks* callbacks) { }
23
24 // protected:
25 virtual ~WebDurableStorageDispatcher() { }
26 };
27
28 } // namespace blink
29
30 #endif // WebDurableStorageDispatcher_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698