OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 /** |
| 6 * @constructor |
| 7 * @implements {settings.ExtensionControlBrowserProxy} |
| 8 * @extends {settings.TestBrowserProxy} |
| 9 */ |
| 10 function TestExtensionControlBrowserProxy() { |
| 11 settings.TestBrowserProxy.call(this, [ |
| 12 'disableExtension', |
| 13 'manageExtension', |
| 14 ]); |
| 15 } |
| 16 |
| 17 TestExtensionControlBrowserProxy.prototype = { |
| 18 __proto__: settings.TestBrowserProxy.prototype, |
| 19 |
| 20 /** @override */ |
| 21 disableExtension: function(extensionId) { |
| 22 this.methodCalled('disableExtension', extensionId); |
| 23 }, |
| 24 |
| 25 /** @override */ |
| 26 manageExtension: function(extensionId) { |
| 27 this.methodCalled('manageExtension', extensionId); |
| 28 }, |
| 29 }; |
OLD | NEW |