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

Unified Diff: Source/modules/performance/WorkerPerformance.idl

Issue 16434011: Support performance.now() in workers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix WorkerPerformance IDL Created 7 years, 6 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
Index: Source/modules/performance/WorkerPerformance.idl
diff --git a/Source/modules/quota/StorageQuotaCallback.idl b/Source/modules/performance/WorkerPerformance.idl
similarity index 90%
copy from Source/modules/quota/StorageQuotaCallback.idl
copy to Source/modules/performance/WorkerPerformance.idl
index 8cd2df72a2034d4ec6642554f59c5834d0516216..38ad1a20d76ed65908dd8ac30cf2d43bdaeb8ea2 100644
--- a/Source/modules/quota/StorageQuotaCallback.idl
+++ b/Source/modules/performance/WorkerPerformance.idl
@@ -28,6 +28,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-callback interface StorageQuotaCallback {
- boolean handleEvent(unsigned long long grantedQuotaInBytes);
+interface WorkerPerformance {
abarth-chromium 2013/06/12 23:11:41 [ NoInterfaceObject ] I presume you don't wan
James Simonsen 2013/06/13 00:01:36 Done. Fixed the typo about this in the spec too.
+ // See https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/HighResolutionTime2/Overview.html for details.
+ double now();
};
+

Powered by Google App Engine
This is Rietveld 408576698