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

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

Issue 1987563002: [DurableStorage] Add UseCounter and fixed IDL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changed test expectations Created 4 years, 7 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // https://storage.spec.whatwg.org/#storagemanager 5 // https://storage.spec.whatwg.org/#storagemanager
6 6
7 [ 7 [
8 Exposed=(Window,Worker), 8 Exposed=(Window,Worker),
9 RuntimeEnabled=DurableStorage, 9 OriginTrialEnabled=DurableStorage,
10 ] interface StorageManager { 10 ] interface StorageManager {
11 [CallWith=ScriptState] Promise<boolean> persisted(); 11 [CallWith=ScriptState, MeasureAs=DurableStoragePersisted] Promise<boolean> p ersisted();
12 [Exposed=Window, CallWith=ScriptState] Promise<boolean> persist(); 12 [Exposed=Window, CallWith=ScriptState, MeasureAs=DurableStoragePersist] Prom ise<boolean> persist();
13 13
14 [RuntimeEnabled=StorageEstimate, CallWith=ScriptState] Promise<StorageEstima te> estimate(); 14 [RuntimeEnabled=StorageEstimate, CallWith=ScriptState, MeasureAs=DurableStor ageEstimate] Promise<StorageEstimate> estimate();
15 }; 15 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698