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

Unified Diff: tools/cr/cr/actions/adb.py

Issue 142933004: [cr tool] Make context implicit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 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
« no previous file with comments | « tools/cr/cr/actions/action.py ('k') | tools/cr/cr/actions/builder.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/cr/cr/actions/adb.py
diff --git a/tools/cr/cr/actions/adb.py b/tools/cr/cr/actions/adb.py
index e55d5034c4493a477359a63431eb8976ae029476..54eebe95450d4d2541a5364fe19b8511ad313684 100644
--- a/tools/cr/cr/actions/adb.py
+++ b/tools/cr/cr/actions/adb.py
@@ -106,14 +106,14 @@ class AdbRunner(cr.Runner):
def enabled(self):
return cr.AndroidPlatform.GetInstance().is_active
- def Kill(self, context, targets, arguments):
+ def Kill(self, targets, arguments):
for target in targets:
Adb.Kill(target, arguments)
- def Run(self, context, target, arguments):
+ def Run(self, target, arguments):
Adb.Run(target, arguments)
- def Test(self, context, target, arguments):
+ def Test(self, target, arguments):
cr.Host.Execute(
target,
'{CR_TEST_RUNNER}', '{CR_TEST_TYPE}',
@@ -130,14 +130,14 @@ class AdbInstaller(cr.Installer):
def enabled(self):
return cr.AndroidPlatform.GetInstance().is_active
- def Uninstall(self, context, targets, arguments):
+ def Uninstall(self, targets, arguments):
for target in targets:
Adb.Uninstall(target, arguments)
- def Install(self, context, targets, arguments):
+ def Install(self, targets, arguments):
for target in targets:
Adb.Install(target, arguments)
- def Reinstall(self, context, targets, arguments):
+ def Reinstall(self, targets, arguments):
for target in targets:
Adb.Reinstall(target, arguments)
« no previous file with comments | « tools/cr/cr/actions/action.py ('k') | tools/cr/cr/actions/builder.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698