| 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();
|
| +};
|
|
|