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

Side by Side Diff: testing/legion/client_rpc_methods.py

Issue 951673002: Revert "Pull chromium at 2c3ffb2355a27c32f45e508ef861416b820c823b" (Closed) Base URL: git@github.com:domokit/mojo.git@master
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 unified diff | Download patch
« no previous file with comments | « testing/legion/client_lib.py ('k') | testing/legion/client_rpc_server.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 """Defines the task RPC methods.""" 5 """Defines the client RPC methods."""
6 6
7 import os 7 import os
8 import sys 8 import sys
9 import logging 9 import logging
10 import threading 10 import threading
11 11
12 #pylint: disable=relative-import 12 #pylint: disable=relative-import
13 import common_lib 13 import common_lib
14 14
15 # Map swarming_client to use subprocess42 15 # Map swarming_client to use subprocess42
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 def Wait(cls, key): 142 def Wait(cls, key):
143 return cls._processes[key].proc.wait() 143 return cls._processes[key].proc.wait()
144 144
145 @classmethod 145 @classmethod
146 def Poll(cls, key): 146 def Poll(cls, key):
147 return cls._processes[key].proc.poll() 147 return cls._processes[key].proc.poll()
148 148
149 @classmethod 149 @classmethod
150 def GetPid(cls, key): 150 def GetPid(cls, key):
151 return cls._processes[key].proc.pid 151 return cls._processes[key].proc.pid
OLDNEW
« no previous file with comments | « testing/legion/client_lib.py ('k') | testing/legion/client_rpc_server.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698