| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_ADB_H_ | 5 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_ADB_H_ |
| 6 #define CHROME_TEST_CHROMEDRIVER_CHROME_ADB_H_ | 6 #define CHROME_TEST_CHROMEDRIVER_CHROME_ADB_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 const std::string& package) = 0; | 26 const std::string& package) = 0; |
| 27 virtual Status ClearAppData(const std::string& device_serial, | 27 virtual Status ClearAppData(const std::string& device_serial, |
| 28 const std::string& package) = 0; | 28 const std::string& package) = 0; |
| 29 virtual Status SetDebugApp(const std::string& device_serial, | 29 virtual Status SetDebugApp(const std::string& device_serial, |
| 30 const std::string& package) = 0; | 30 const std::string& package) = 0; |
| 31 virtual Status Launch(const std::string& device_serial, | 31 virtual Status Launch(const std::string& device_serial, |
| 32 const std::string& package, | 32 const std::string& package, |
| 33 const std::string& activity) = 0; | 33 const std::string& activity) = 0; |
| 34 virtual Status ForceStop(const std::string& device_serial, | 34 virtual Status ForceStop(const std::string& device_serial, |
| 35 const std::string& package) = 0; | 35 const std::string& package) = 0; |
| 36 virtual Status GetDevtoolsRemoteSocket(const std::string& device_serial, |
| 37 const std::string& process_name, |
| 38 std::string* device_socket) = 0; |
| 36 virtual Status GetPidByName(const std::string& device_serial, | 39 virtual Status GetPidByName(const std::string& device_serial, |
| 37 const std::string& process_name, | 40 const std::string& process_name, |
| 38 int* pid) = 0; | 41 int* pid) = 0; |
| 39 }; | 42 }; |
| 40 | 43 |
| 41 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_ADB_H_ | 44 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_ADB_H_ |
| OLD | NEW |