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

Unified Diff: chrome/browser/devtools/device/webrtc/send_command_request.h

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/send_command_request.h
diff --git a/chrome/browser/devtools/device/webrtc/send_command_request.h b/chrome/browser/devtools/device/webrtc/send_command_request.h
deleted file mode 100644
index 045dd7cb6590e8029a05cdf01475780c3d6d7a23..0000000000000000000000000000000000000000
--- a/chrome/browser/devtools/device/webrtc/send_command_request.h
+++ /dev/null
@@ -1,40 +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.
-
-#ifndef CHROME_BROWSER_DEVTOOLS_DEVICE_WEBRTC_SEND_COMMAND_REQUEST_H_
-#define CHROME_BROWSER_DEVTOOLS_DEVICE_WEBRTC_SEND_COMMAND_REQUEST_H_
-
-#include "base/macros.h"
-#include "chrome/browser/local_discovery/gcd_api_flow.h"
-
-class SendCommandRequest : public local_discovery::GCDApiFlowRequest {
- public:
- class Delegate {
- public:
- // It's safe to destroy SendCommandRequest in these methods.
- virtual void OnCommandSucceeded(const base::DictionaryValue& value) = 0;
- virtual void OnCommandFailed() = 0;
-
- protected:
- ~Delegate() {}
- };
-
- SendCommandRequest(const base::DictionaryValue* request, Delegate* delegate);
-
- // Implementation of GCDApiFlowRequest.
- net::URLFetcher::RequestType GetRequestType() override;
- void GetUploadData(std::string* upload_type,
- std::string* upload_data) override;
- void OnGCDAPIFlowError(local_discovery::GCDApiFlow::Status status) override;
- void OnGCDAPIFlowComplete(const base::DictionaryValue& value) override;
- GURL GetURL() override;
-
- private:
- std::string upload_data_;
- Delegate* const delegate_;
-
- DISALLOW_COPY_AND_ASSIGN(SendCommandRequest);
-};
-
-#endif // CHROME_BROWSER_DEVTOOLS_DEVICE_WEBRTC_SEND_COMMAND_REQUEST_H_
« no previous file with comments | « chrome/browser/devtools/device/webrtc/resources.grd ('k') | chrome/browser/devtools/device/webrtc/send_command_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698