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

Unified Diff: chrome/test/data/webui/bluetooth_internals_browsertest.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/test/data/webui/md_user_manager/test_profile_browser_proxy.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/bluetooth_internals_browsertest.js
diff --git a/chrome/test/data/webui/bluetooth_internals_browsertest.js b/chrome/test/data/webui/bluetooth_internals_browsertest.js
index a7ab6ad95ddd5610298db8cfd455771ba9d12f30..4cf4ec1b74093033a13eb6b280f63489b90bc21f 100644
--- a/chrome/test/data/webui/bluetooth_internals_browsertest.js
+++ b/chrome/test/data/webui/bluetooth_internals_browsertest.js
@@ -38,7 +38,7 @@ BluetoothInternalsTest.prototype = {
ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js',
ROOT_PATH + 'ui/webui/resources/js/cr.js',
ROOT_PATH + 'ui/webui/resources/js/util.js',
- ROOT_PATH + 'chrome/test/data/webui/settings/test_browser_proxy.js',
+ ROOT_PATH + 'chrome/test/data/webui/test_browser_proxy.js',
],
preLoad: function() {
@@ -57,10 +57,10 @@ BluetoothInternalsTest.prototype = {
* page.
*
* @constructor
- * @extends {TestBrowserProxyBase}
+ * @extends {TestBrowserProxy}
*/
var TestAdapterFactoryProxy = function() {
- settings.TestBrowserProxy.call(this, [
+ TestBrowserProxy.call(this, [
'getAdapter',
]);
@@ -71,7 +71,7 @@ BluetoothInternalsTest.prototype = {
};
TestAdapterFactoryProxy.prototype = {
- __proto__: settings.TestBrowserProxy.prototype,
+ __proto__: TestBrowserProxy.prototype,
getAdapter: function() {
this.methodCalled('getAdapter');
@@ -85,10 +85,10 @@ BluetoothInternalsTest.prototype = {
/**
* A test adapter proxy for the chrome://bluetooth-internals page.
* @constructor
- * @extends {TestBrowserProxyBase}
+ * @extends {TestBrowserProxy}
*/
var TestAdapterProxy = function() {
- settings.TestBrowserProxy.call(this, [
+ TestBrowserProxy.call(this, [
'getInfo',
'getDevices',
'setClient',
@@ -101,7 +101,7 @@ BluetoothInternalsTest.prototype = {
};
TestAdapterProxy.prototype = {
- __proto__: settings.TestBrowserProxy.prototype,
+ __proto__: TestBrowserProxy.prototype,
connectToDevice: function(address) {
assert(this.deviceProxyMap.has(address), 'Device does not exist');
@@ -149,11 +149,11 @@ BluetoothInternalsTest.prototype = {
* page. Proxies are generated by a TestAdapterProxy which provides
* the DeviceInfo.
* @constructor
- * @extends {TestBrowserProxyBase}
+ * @extends {TestBrowserProxy}
* @param {!device.DeviceInfo} info
*/
var TestDeviceProxy = function(info) {
- settings.TestBrowserProxy.call(this, [
+ TestBrowserProxy.call(this, [
'getInfo',
'getServices',
]);
@@ -164,7 +164,7 @@ BluetoothInternalsTest.prototype = {
}
TestDeviceProxy.prototype = {
- __proto__: settings.TestBrowserProxy.prototype,
+ __proto__: TestBrowserProxy.prototype,
disconnect: function() {
this.binding.close();
« no previous file with comments | « no previous file | chrome/test/data/webui/md_user_manager/test_profile_browser_proxy.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698