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

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

Issue 138873003: [chromedriver] Write command line file to both /data/local and /data/local/tmp for Chrome on Androi… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sets debug app Created 6 years, 11 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 | « chrome/test/chromedriver/chrome/adb_impl.h ('k') | chrome/test/chromedriver/chrome/device_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/chrome/adb_impl.cc
diff --git a/chrome/test/chromedriver/chrome/adb_impl.cc b/chrome/test/chromedriver/chrome/adb_impl.cc
index 0fa1478ab860bcfa853a9705f50e9efa3d35a174..f90ceb73fb0400dca499e6f68df56d496b98f28b 100644
--- a/chrome/test/chromedriver/chrome/adb_impl.cc
+++ b/chrome/test/chromedriver/chrome/adb_impl.cc
@@ -160,6 +160,13 @@ Status AdbImpl::ClearAppData(
return Status(kOk);
}
+Status AdbImpl::SetDebugApp(
+ const std::string& device_serial, const std::string& package) {
+ std::string response;
+ return ExecuteHostShellCommand(
+ device_serial, "am set-debug-app --persistent " + package, &response);
+}
+
Status AdbImpl::Launch(
const std::string& device_serial, const std::string& package,
const std::string& activity) {
« no previous file with comments | « chrome/test/chromedriver/chrome/adb_impl.h ('k') | chrome/test/chromedriver/chrome/device_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698