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

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') | chrome/test/chromedriver/chrome_impl.cc » ('J')
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 6ce11d25f0e628affd772521b84e054cb3f535db..5b48602eb84e84f161ae0f52b90ae18e940e858e 100644
--- a/chrome/test/chromedriver/chrome_impl.h
+++ b/chrome/test/chromedriver/chrome_impl.h
@@ -57,8 +57,27 @@ 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>* web_view_info_list);
} // namespace internal
« no previous file with comments | « no previous file | chrome/test/chromedriver/chrome_impl.cc » ('j') | chrome/test/chromedriver/chrome_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698