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

Unified Diff: scripts/master/factory/annotator_commands.py

Issue 955153003: ActiveMaster in AnnotationObserver (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 5 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 | « scripts/master/chromium_step.py ('k') | scripts/master/factory/annotator_factory.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/master/factory/annotator_commands.py
diff --git a/scripts/master/factory/annotator_commands.py b/scripts/master/factory/annotator_commands.py
index f23363026499f9efd005a27a446e70934f44c73a..0dac4108739596a598017c3907a1b60eeee0a6f1 100644
--- a/scripts/master/factory/annotator_commands.py
+++ b/scripts/master/factory/annotator_commands.py
@@ -15,8 +15,9 @@ from master.factory import commands
class AnnotatorCommands(commands.FactoryCommands):
"""Encapsulates methods to add annotator commands to a factory."""
- def __init__(self, factory=None):
+ def __init__(self, factory=None, active_master=None):
self._call_counts = {}
+ self.active_master = active_master
# Set self._script_dir and self._python, among other things.
commands.FactoryCommands.__init__(self, factory)
@@ -36,4 +37,5 @@ class AnnotatorCommands(commands.FactoryCommands):
timeout=timeout,
maxTime=max_time,
haltOnFailure=True,
- command=cmd)
+ command=cmd,
+ active_master=self.active_master)
« no previous file with comments | « scripts/master/chromium_step.py ('k') | scripts/master/factory/annotator_factory.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698