OLD | NEW |
1 # Copyright 2012 The Chromium Authors. All rights reserved. | 1 # Copyright 2012 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 | 5 |
6 class App(object): | 6 class App(object): |
7 """ A running application instance that can be controlled in a limited way. | 7 """ A running application instance that can be controlled in a limited way. |
8 | 8 |
9 Be sure to clean up after yourself by calling Close() when you are done with | 9 Be sure to clean up after yourself by calling Close() when you are done with |
10 the app. Or better yet: | 10 the app. Or better yet: |
(...skipping 21 matching lines...) Expand all Loading... |
32 self.Close() | 32 self.Close() |
33 | 33 |
34 def Close(self): | 34 def Close(self): |
35 raise NotImplementedError() | 35 raise NotImplementedError() |
36 | 36 |
37 def GetStandardOutput(self): | 37 def GetStandardOutput(self): |
38 return self._app_backend.GetStandardOutput() | 38 return self._app_backend.GetStandardOutput() |
39 | 39 |
40 def GetStackTrace(self): | 40 def GetStackTrace(self): |
41 return self._app_backend.GetStackTrace() | 41 return self._app_backend.GetStackTrace() |
| 42 |
| 43 def GetMostRecentMinidumpPath(self): |
| 44 return self._app_backend.GetMostRecentMinidumpPath() |
OLD | NEW |