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

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

Issue 1154573005: Expose Durable Storage API to script (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update comment Created 5 years, 4 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
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details. 12 * Library General Public License for more details.
13 * 13 *
14 * You should have received a copy of the GNU Library General Public License 14 * You should have received a copy of the GNU Library General Public License
15 * along with this library; see the file COPYING.LIB. If not, write to 15 * along with this library; see the file COPYING.LIB. If not, write to
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA. 17 * Boston, MA 02110-1301, USA.
18 */ 18 */
19 19
20 partial interface Navigator { 20 partial interface Navigator {
21 // http://www.w3.org/TR/2012/WD-quota-api-20120703/#idl-def-StorageQuotaEnvi ronment
21 [MeasureAs=PrefixedStorageQuota] readonly attribute DeprecatedStorageQuota w ebkitTemporaryStorage; 22 [MeasureAs=PrefixedStorageQuota] readonly attribute DeprecatedStorageQuota w ebkitTemporaryStorage;
22 [MeasureAs=PrefixedStorageQuota] readonly attribute DeprecatedStorageQuota w ebkitPersistentStorage; 23 [MeasureAs=PrefixedStorageQuota] readonly attribute DeprecatedStorageQuota w ebkitPersistentStorage;
23 24
25 // http://www.w3.org/TR/2015/WD-quota-api-20150409/#accessing-storagequota-i nterface
24 [RuntimeEnabled=QuotaPromise] readonly attribute StorageQuota storageQuota; 26 [RuntimeEnabled=QuotaPromise] readonly attribute StorageQuota storageQuota;
27
28 // https://storage.spec.whatwg.org/#api
29 [RuntimeEnabled=DurableStorage] readonly attribute StorageManager storage;
mlamouri (slow - plz ping) 2015/08/04 13:15:19 Usually, we have a comment before the interface po
jsbell 2015/08/04 15:32:04 I believe David is documenting the various "partia
mlamouri (slow - plz ping) 2015/08/04 15:36:47 Oh, I did not understand that. Maybe this could be
dgrogan 2015/08/06 23:52:02 I want anyone doing archaeology to have an easier
25 }; 30 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698