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

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

Issue 22536006: chrome://inspect: Better support for multiple browsers and older versions of mobile Chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 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
« no previous file with comments | « no previous file | chrome/browser/devtools/devtools_adb_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/devtools/devtools_adb_bridge.h
diff --git a/chrome/browser/devtools/devtools_adb_bridge.h b/chrome/browser/devtools/devtools_adb_bridge.h
index 377c3c80fb7719a9d23f250d4e08492302baaecb..1023a06c0bb5e3e4b6b0587c456e6f09beb53507 100644
--- a/chrome/browser/devtools/devtools_adb_bridge.h
+++ b/chrome/browser/devtools/devtools_adb_bridge.h
@@ -127,12 +127,15 @@ class DevToolsAdbBridge
public:
RemoteBrowser(scoped_refptr<DevToolsAdbBridge> bridge,
scoped_refptr<AndroidDevice> device,
- const std::string& socket,
- const std::string& name);
+ const std::string& socket);
scoped_refptr<AndroidDevice> device() { return device_; }
std::string socket() { return socket_; }
- std::string name() { return name_; }
+
+ std::string product() { return product_; }
+ void set_product(const std::string& product) { product_ = product; }
+ std::string version() { return version_; }
+ void set_version(const std::string& version) { version_ = version; }
RemotePages& pages() { return pages_; }
void AddPage(scoped_refptr<RemotePage> page) { pages_.push_back(page); }
@@ -152,7 +155,8 @@ class DevToolsAdbBridge
scoped_refptr<DevToolsAdbBridge> bridge_;
scoped_refptr<AndroidDevice> device_;
const std::string socket_;
- const std::string name_;
+ std::string product_;
+ std::string version_;
RemotePages pages_;
DISALLOW_COPY_AND_ASSIGN(RemoteBrowser);
« no previous file with comments | « no previous file | chrome/browser/devtools/devtools_adb_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698