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

Unified Diff: Source/core/dom/LockManager.idl

Issue 148283013: Blink JavaScript shared memory prototype. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Tweaks Created 6 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
« no previous file with comments | « Source/core/dom/LockManager.cpp ('k') | Source/wtf/ArrayBuffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/LockManager.idl
diff --git a/Source/core/dom/MessageChannel.idl b/Source/core/dom/LockManager.idl
similarity index 84%
copy from Source/core/dom/MessageChannel.idl
copy to Source/core/dom/LockManager.idl
index fbd8babde20f3352d2304ebfff458aa3737590cf..a38d4b624544a2076d1d70cae560bd91d290c82c 100644
--- a/Source/core/dom/MessageChannel.idl
+++ b/Source/core/dom/LockManager.idl
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2008, 2010 Apple Inc. All rights reserved.
+ * Copyright (C) 2014 Google Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -27,8 +27,10 @@
[
CustomConstructor,
GlobalContext=Window&WorkerGlobalScope,
-] interface MessageChannel {
- readonly attribute MessagePort port1;
- readonly attribute MessagePort port2;
-};
+] interface LockManager {
+ [Custom, RaisesException] void lock(unsigned long uid);
+ [Custom, RaisesException] void unlock(unsigned long uid);
+ // HACK for performance testing.
+ void nop();
+};
« no previous file with comments | « Source/core/dom/LockManager.cpp ('k') | Source/wtf/ArrayBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698