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

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: ToT 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 // This partial interface is a merge of three different partial interfaces
21 // related to storage.
kinuko 2015/08/11 08:53:54 Meh, thanks for adding a nice comment for explaini
20 partial interface Navigator { 22 partial interface Navigator {
23 // http://www.w3.org/TR/2012/WD-quota-api-20120703/#idl-def-StorageQuotaEnvi ronment
21 [MeasureAs=PrefixedStorageQuota] readonly attribute DeprecatedStorageQuota w ebkitTemporaryStorage; 24 [MeasureAs=PrefixedStorageQuota] readonly attribute DeprecatedStorageQuota w ebkitTemporaryStorage;
22 [MeasureAs=PrefixedStorageQuota] readonly attribute DeprecatedStorageQuota w ebkitPersistentStorage; 25 [MeasureAs=PrefixedStorageQuota] readonly attribute DeprecatedStorageQuota w ebkitPersistentStorage;
23 26
27 // http://www.w3.org/TR/2015/WD-quota-api-20150409/#accessing-storagequota-i nterface
24 [RuntimeEnabled=QuotaPromise] readonly attribute StorageQuota storageQuota; 28 [RuntimeEnabled=QuotaPromise] readonly attribute StorageQuota storageQuota;
29
30 // https://storage.spec.whatwg.org/#api
31 [RuntimeEnabled=DurableStorage] readonly attribute StorageManager storage;
25 }; 32 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698