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

Side by Side Diff: Source/modules/quota/StorageManager.idl

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 enum PersistentStoragePermission { "default", "denied", "granted" };
jsbell 2015/07/01 17:43:30 Please add spec link, e.g. // https://storage.spe
dgrogan 2015/07/07 04:03:25 Done.
6
7 [
8 Exposed=(Window,Worker),
9 TypeChecking=Interface,
10 GarbageCollected,
11 RuntimeEnabled=DurableStorage,
12 ] interface StorageManager {
13 [CallWith=ScriptState] Promise<PersistentStoragePermission> requestPersisten t();
14 Promise<PersistentStoragePermission> persistentPermission();
jsbell 2015/07/01 17:43:30 Add TODOs for the parts of the spec that aren't in
dgrogan 2015/07/07 04:03:24 Done.
15 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698