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

Side by Side Diff: chrome/test/data/webui/settings/test_extension_control_browser_proxy.js

Issue 2509543002: MD Settings: create a shared handler/browser proxy to control extensions (Closed)
Patch Set: self-review Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
(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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698