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

Unified Diff: chrome/browser/devtools/devtools_adb_bridge.cc

Issue 136113019: Cleanup: Remove some unused code, or make them platform specific. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix build Created 6 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
« no previous file with comments | « chrome/browser/chrome_net_benchmarking_message_filter.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/devtools/devtools_adb_bridge.cc
===================================================================
--- chrome/browser/devtools/devtools_adb_bridge.cc (revision 246675)
+++ chrome/browser/devtools/devtools_adb_bridge.cc (working copy)
@@ -298,7 +298,7 @@
const Callback& callback)
: adb_thread_(adb_thread),
callback_(callback),
- device_providers_(device_providers){
+ device_providers_(device_providers) {
remote_devices_.reset(new DevToolsAdbBridge::RemoteDevices());
ProcessDeviceProviders();
@@ -730,11 +730,11 @@
class AgentHostDelegate : public content::DevToolsExternalAgentProxyDelegate,
public AdbWebSocket::Delegate {
public:
- static void Create(const std::string& id,
- scoped_refptr<DevToolsAdbBridge::RemoteBrowser> browser,
- const std::string& debug_url,
- const std::string& frontend_url,
- Profile* profile) {
+ static void Create(const std::string& id,
+ scoped_refptr<DevToolsAdbBridge::RemoteBrowser> browser,
+ const std::string& debug_url,
+ const std::string& frontend_url,
+ Profile* profile) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
AgentHostDelegates::iterator it =
g_host_delegates.Get().find(id);
@@ -758,7 +758,6 @@
Profile* profile)
: id_(id),
frontend_url_(frontend_url),
- adb_message_loop_(adb_message_loop),
profile_(profile) {
web_socket_ = new AdbWebSocket(
device, socket_name, debug_url, adb_message_loop, this);
@@ -815,7 +814,6 @@
const std::string id_;
const std::string frontend_url_;
- base::MessageLoop* adb_message_loop_;
Profile* profile_;
scoped_ptr<content::DevToolsExternalAgentProxy> proxy_;
« no previous file with comments | « chrome/browser/chrome_net_benchmarking_message_filter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698