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 import logging | 5 import logging |
6 import os | 6 import os |
7 | 7 |
8 from telemetry.core import exceptions | 8 from telemetry.core import exceptions |
9 from telemetry.core import util | 9 from telemetry.core import util |
10 from telemetry import decorators | 10 from telemetry import decorators |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 | 168 |
169 def IsBrowserRunning(self): | 169 def IsBrowserRunning(self): |
170 return bool(self.pid) | 170 return bool(self.pid) |
171 | 171 |
172 def GetStandardOutput(self): | 172 def GetStandardOutput(self): |
173 return 'Cannot get standard output on CrOS' | 173 return 'Cannot get standard output on CrOS' |
174 | 174 |
175 def GetStackTrace(self): | 175 def GetStackTrace(self): |
176 return (False, 'Cannot get stack trace on CrOS') | 176 return (False, 'Cannot get stack trace on CrOS') |
177 | 177 |
| 178 def GetMostRecentMinidumpPath(self): |
| 179 return None |
| 180 |
| 181 def GetAllMinidumpPaths(self): |
| 182 return None |
| 183 |
| 184 def GetAllUnsymbolizedMinidumpPaths(self): |
| 185 return None |
| 186 |
| 187 def SymbolizeMinidump(self, minidump_path): |
| 188 return None |
| 189 |
178 @property | 190 @property |
179 @decorators.Cache | 191 @decorators.Cache |
180 def misc_web_contents_backend(self): | 192 def misc_web_contents_backend(self): |
181 """Access to chrome://oobe/login page.""" | 193 """Access to chrome://oobe/login page.""" |
182 return misc_web_contents_backend.MiscWebContentsBackend(self) | 194 return misc_web_contents_backend.MiscWebContentsBackend(self) |
183 | 195 |
184 @property | 196 @property |
185 def oobe(self): | 197 def oobe(self): |
186 return self.misc_web_contents_backend.GetOobe() | 198 return self.misc_web_contents_backend.GetOobe() |
187 | 199 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 # Wait for cryptohome to mount. | 237 # Wait for cryptohome to mount. |
226 util.WaitFor(self._IsLoggedIn, 60) | 238 util.WaitFor(self._IsLoggedIn, 60) |
227 | 239 |
228 # For incognito mode, the session manager actually relaunches chrome with | 240 # For incognito mode, the session manager actually relaunches chrome with |
229 # new arguments, so we have to wait for the browser to come up. | 241 # new arguments, so we have to wait for the browser to come up. |
230 self._WaitForBrowserToComeUp() | 242 self._WaitForBrowserToComeUp() |
231 | 243 |
232 # Wait for extensions to load. | 244 # Wait for extensions to load. |
233 if self._supports_extensions: | 245 if self._supports_extensions: |
234 self._WaitForExtensionsToLoad() | 246 self._WaitForExtensionsToLoad() |
OLD | NEW |