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

Unified Diff: chrome/test/chromedriver/chrome_impl.h

Issue 12321057: [chromedriver] Implement reconnection to DevTools. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits. Created 7 years, 10 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/test/chromedriver/chrome_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/chrome_impl.h
diff --git a/chrome/test/chromedriver/chrome_impl.h b/chrome/test/chromedriver/chrome_impl.h
index ce071e757200646eea318a726065dbf73f11314b..6f594502de6b79c41ef191ca56956f10b73f1ce3 100644
--- a/chrome/test/chromedriver/chrome_impl.h
+++ b/chrome/test/chromedriver/chrome_impl.h
@@ -61,8 +61,28 @@ class ChromeImpl : public Chrome, public WebViewDelegate {
namespace internal {
+struct WebViewInfo {
+ enum Type {
+ kPage,
+ kOther
+ };
+
+ WebViewInfo(const std::string& id,
+ const std::string& debugger_url,
+ const std::string& url,
+ Type type);
+
+ bool IsFrontend() const;
+
+ std::string id;
+ std::string debugger_url;
+ std::string url;
+ Type type;
+};
+
Status ParsePagesInfo(const std::string& data,
- std::list<std::string>* page_ids);
+ std::list<WebViewInfo>* info_list);
+
Status ParseVersionInfo(const std::string& data,
std::string* version);
« no previous file with comments | « no previous file | chrome/test/chromedriver/chrome_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698