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

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

Issue 2927653002: WebUI: Move test_browser_proxy.js one level up. (Closed)
Patch Set: Remove namespace Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @constructor 6 * @constructor
7 * @implements {settings.ExtensionControlBrowserProxy} 7 * @implements {settings.ExtensionControlBrowserProxy}
8 * @extends {settings.TestBrowserProxy} 8 * @extends {TestBrowserProxy}
9 */ 9 */
10 function TestExtensionControlBrowserProxy() { 10 function TestExtensionControlBrowserProxy() {
11 settings.TestBrowserProxy.call(this, [ 11 TestBrowserProxy.call(this, [
12 'disableExtension', 12 'disableExtension',
13 'manageExtension', 13 'manageExtension',
14 ]); 14 ]);
15 } 15 }
16 16
17 TestExtensionControlBrowserProxy.prototype = { 17 TestExtensionControlBrowserProxy.prototype = {
18 __proto__: settings.TestBrowserProxy.prototype, 18 __proto__: TestBrowserProxy.prototype,
19 19
20 /** @override */ 20 /** @override */
21 disableExtension: function(extensionId) { 21 disableExtension: function(extensionId) {
22 this.methodCalled('disableExtension', extensionId); 22 this.methodCalled('disableExtension', extensionId);
23 }, 23 },
24 24
25 /** @override */ 25 /** @override */
26 manageExtension: function(extensionId) { 26 manageExtension: function(extensionId) {
27 this.methodCalled('manageExtension', extensionId); 27 this.methodCalled('manageExtension', extensionId);
28 }, 28 },
29 }; 29 };
OLDNEW
« no previous file with comments | « chrome/test/data/webui/settings/test_browser_proxy.js ('k') | chrome/test/data/webui/settings/test_languages_browser_proxy.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698