| 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 from telemetry.core.backends import app_backend |
| 6 from telemetry.core import platform |
| 7 from telemetry.core.platform import profiling_controller_backend |
| 8 from telemetry.core import web_contents |
| 5 from telemetry import decorators | 9 from telemetry import decorators |
| 6 from telemetry.core import platform | |
| 7 from telemetry.core import web_contents | |
| 8 from telemetry.core.backends import app_backend | |
| 9 from telemetry.core.platform import profiling_controller_backend | |
| 10 | 10 |
| 11 | 11 |
| 12 class ExtensionsNotSupportedException(Exception): | 12 class ExtensionsNotSupportedException(Exception): |
| 13 pass | 13 pass |
| 14 | 14 |
| 15 | 15 |
| 16 class BrowserBackend(app_backend.AppBackend): | 16 class BrowserBackend(app_backend.AppBackend): |
| 17 """A base class for browser backends.""" | 17 """A base class for browser backends.""" |
| 18 | 18 |
| 19 def __init__(self, platform_backend, supports_extensions, browser_options, | 19 def __init__(self, platform_backend, supports_extensions, browser_options, |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 return self.IsBrowserRunning() | 94 return self.IsBrowserRunning() |
| 95 | 95 |
| 96 def GetStandardOutput(self): | 96 def GetStandardOutput(self): |
| 97 raise NotImplementedError() | 97 raise NotImplementedError() |
| 98 | 98 |
| 99 def GetStackTrace(self): | 99 def GetStackTrace(self): |
| 100 raise NotImplementedError() | 100 raise NotImplementedError() |
| 101 | 101 |
| 102 def GetSystemInfo(self): | 102 def GetSystemInfo(self): |
| 103 raise NotImplementedError() | 103 raise NotImplementedError() |
| OLD | NEW |