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

Unified Diff: tools/telemetry/telemetry/internal/app/__init__.py

Issue 1647513002: Delete tools/telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: tools/telemetry/telemetry/internal/app/__init__.py
diff --git a/tools/telemetry/telemetry/internal/app/__init__.py b/tools/telemetry/telemetry/internal/app/__init__.py
deleted file mode 100644
index af96cc6a8dd1b753a3ef3146e254e6967f23f5f6..0000000000000000000000000000000000000000
--- a/tools/telemetry/telemetry/internal/app/__init__.py
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 2012 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-
-class App(object):
- """ A running application instance that can be controlled in a limited way.
-
- Be sure to clean up after yourself by calling Close() when you are done with
- the app. Or better yet:
- with possible_app.Create(options) as app:
- ... do all your operations on app here
- """
- def __init__(self, app_backend, platform_backend):
- assert platform_backend.platform != None
- self._app_backend = app_backend
- self._platform_backend = platform_backend
- self._app_backend.SetApp(self)
-
- @property
- def app_type(self):
- return self._app_backend.app_type
-
- @property
- def platform(self):
- return self._platform_backend.platform
-
- def __enter__(self):
- return self
-
- def __exit__(self, *args):
- self.Close()
-
- def Close(self):
- raise NotImplementedError()
-
- def GetStandardOutput(self):
- return self._app_backend.GetStandardOutput()
-
- def GetStackTrace(self):
- return self._app_backend.GetStackTrace()
« no previous file with comments | « tools/telemetry/telemetry/internal/actions/wait.py ('k') | tools/telemetry/telemetry/internal/app/android_app.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698