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

Unified Diff: chrome/browser/devtools/device/devtools_android_bridge.h

Issue 521573002: Support for browser aliases in DevTools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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/devtools_android_bridge.h
diff --git a/chrome/browser/devtools/device/devtools_android_bridge.h b/chrome/browser/devtools/device/devtools_android_bridge.h
index ddc34bbfb4750b5b131925c7832e2ecfe8256185..1fc486afffb832aec4798caa016add8b1acb0734 100644
--- a/chrome/browser/devtools/device/devtools_android_bridge.h
+++ b/chrome/browser/devtools/device/devtools_android_bridge.h
@@ -90,6 +90,8 @@ class DevToolsAndroidBridge
RemoteBrowser(scoped_refptr<Device> device,
const AndroidDeviceManager::BrowserInfo& browser_info);
+ int GetId() const { return id_; }
+
std::string serial() { return device_->serial(); }
std::string socket() { return socket_; }
@@ -146,6 +148,7 @@ class DevToolsAndroidBridge
int result,
const std::string& response);
+ const int id_;
scoped_refptr<Device> device_;
const std::string socket_;
std::string display_name_;

Powered by Google App Engine
This is Rietveld 408576698