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

Unified Diff: chrome/browser/devtools/device/webrtc/js/webrtc_device_provider.js

Issue 1560583002: DevTools: remove experimental webrtc-based remote debugging device provider. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more tests/gyp removals Created 4 years, 11 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
Index: chrome/browser/devtools/device/webrtc/js/webrtc_device_provider.js
diff --git a/chrome/browser/devtools/device/webrtc/js/webrtc_device_provider.js b/chrome/browser/devtools/device/webrtc/js/webrtc_device_provider.js
deleted file mode 100644
index a9e67fe3858c30973320a525de8373772e7d232a..0000000000000000000000000000000000000000
--- a/chrome/browser/devtools/device/webrtc/js/webrtc_device_provider.js
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-/**
- * @constructor
- */
-function WebRTCDeviceProvider() {
-}
-
-WebRTCDeviceProvider.prototype.handleCommandFailure = function() {
- // TODO(serya): Remove debugging code and implement.
- console.error('Command failed');
-};
-
-WebRTCDeviceProvider.prototype.handleCommandSuccess = function(result) {
- // TODO(serya): Remove debugging code and implement.
- console.log('Command succeded', result);
-};
-
-WebRTCDeviceProvider.prototype.startSessionIfNeeded = function(deviceId) {
- // TODO(serya): Remove debugging code and implement.
- this.lastDeviceId = deviceId;
-};
-
-addEventListener('DOMContentLoaded', function() {
- window.WebRTCDeviceProvider.instance = new WebRTCDeviceProvider();
-}, false);

Powered by Google App Engine
This is Rietveld 408576698