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

Side by Side Diff: chrome/test/pyautolib/chromoting.py

Issue 8680018: Fix python scripts in src/chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright Created 9 years 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 | Annotate | Revision Log
« no previous file with comments | « chrome/test/pyautolib/chromeos_network.py ('k') | chrome/test/pyautolib/download_info.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 #!/usr/bin/python
2
3 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
4 # 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
5 # found in the LICENSE file. 3 # found in the LICENSE file.
6 4
7 import os 5 import os
8 6
9 7
10 class ChromotingMixIn(object): 8 class ChromotingMixIn(object):
11 """MixIn for PyUITest that adds Chromoting-specific methods. 9 """MixIn for PyUITest that adds Chromoting-specific methods.
12 10
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 180
183 def Disconnect(self, tab_index=1, windex=0): 181 def Disconnect(self, tab_index=1, windex=0):
184 """Disconnects from the Chromoting session on the client side. 182 """Disconnects from the Chromoting session on the client side.
185 183
186 Returns: 184 Returns:
187 True on success; False otherwise. 185 True on success; False otherwise.
188 """ 186 """
189 return self._ExecuteAndWaitForMode( 187 return self._ExecuteAndWaitForMode(
190 'remoting.disconnect();', 188 'remoting.disconnect();',
191 'CLIENT_SESSION_FINISHED', tab_index, windex) 189 'CLIENT_SESSION_FINISHED', tab_index, windex)
OLDNEW
« no previous file with comments | « chrome/test/pyautolib/chromeos_network.py ('k') | chrome/test/pyautolib/download_info.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698