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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/quota/StorageManager.idl
diff --git a/third_party/WebKit/Source/modules/quota/StorageManager.idl b/third_party/WebKit/Source/modules/quota/StorageManager.idl
index 7e8955bc343c1d7f7b2802ad45a32433781a3df9..0cb214409a6dbb233db67e839bff370521ea2fd1 100644
--- a/third_party/WebKit/Source/modules/quota/StorageManager.idl
+++ b/third_party/WebKit/Source/modules/quota/StorageManager.idl
@@ -6,10 +6,10 @@
[
Exposed=(Window,Worker),
- RuntimeEnabled=DurableStorage,
+ OriginTrialEnabled=DurableStorage,
] interface StorageManager {
- [CallWith=ScriptState] Promise<boolean> persisted();
- [Exposed=Window, CallWith=ScriptState] Promise<boolean> persist();
+ [CallWith=ScriptState, MeasureAs=DurableStoragePersisted] Promise<boolean> persisted();
+ [Exposed=Window, CallWith=ScriptState, MeasureAs=DurableStoragePersist] Promise<boolean> persist();
- [RuntimeEnabled=StorageEstimate, CallWith=ScriptState] Promise<StorageEstimate> estimate();
+ [RuntimeEnabled=StorageEstimate, CallWith=ScriptState, MeasureAs=DurableStorageEstimate] Promise<StorageEstimate> estimate();
};
« 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