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

Unified Diff: chrome/test/chromedriver/chrome/chrome_android_impl.cc

Issue 12978003: [chromedriver] Fix 3 bugs about web view, window handle and target window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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/test/chromedriver/chrome/chrome_android_impl.cc
diff --git a/chrome/test/chromedriver/chrome/chrome_android_impl.cc b/chrome/test/chromedriver/chrome/chrome_android_impl.cc
index c467eb75ee99bc2544d6a00b2b35458a6081e70d..0f78096ebc257faa5a0ff4b97e1868a22a223d24 100644
--- a/chrome/test/chromedriver/chrome/chrome_android_impl.cc
+++ b/chrome/test/chromedriver/chrome/chrome_android_impl.cc
@@ -9,7 +9,6 @@
#include "base/process_util.h"
#include "base/string_number_conversions.h"
#include "chrome/test/chromedriver/chrome/status.h"
-#include "chrome/test/chromedriver/chrome/web_view.h"
#include "chrome/test/chromedriver/net/sync_websocket_impl.h"
#include "chrome/test/chromedriver/net/url_request_context_getter.h"
@@ -45,13 +44,6 @@ Status ChromeAndroidImpl::Launch(const std::string& package_name) {
Quit();
return status;
}
- std::list<WebView*> web_views;
- status = GetWebViews(&web_views);
- if (status.IsError() || web_views.empty()) {
- Quit();
- return status.IsError() ? status :
- Status(kUnknownError, "unable to discover open window in chrome");
- }
return Status(kOk);
}

Powered by Google App Engine
This is Rietveld 408576698