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

Unified Diff: tools/telemetry/telemetry/internal/platform/desktop_platform_backend.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/platform/desktop_platform_backend.py
diff --git a/tools/telemetry/telemetry/internal/platform/desktop_platform_backend.py b/tools/telemetry/telemetry/internal/platform/desktop_platform_backend.py
deleted file mode 100644
index 510b534f6533b8ec26e4cd0ff1f294a35034fcc9..0000000000000000000000000000000000000000
--- a/tools/telemetry/telemetry/internal/platform/desktop_platform_backend.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 2013 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.
-
-import os
-import subprocess
-
-from telemetry.internal.util import binary_manager
-from telemetry.internal.platform import platform_backend
-
-
-class DesktopPlatformBackend(platform_backend.PlatformBackend):
-
- # This is an abstract class. It is OK to have abstract methods.
- # pylint: disable=abstract-method
-
- def FlushSystemCacheForDirectory(self, directory):
- assert directory and os.path.exists(directory), \
- 'Target directory %s must exist' % directory
- flush_command = binary_manager.FetchPath(
- 'clear_system_cache', self.GetArchName(), self.GetOSName())
- assert flush_command, 'You must build clear_system_cache first'
-
- subprocess.check_call([flush_command, '--recurse', directory])
-
- def GetDeviceTypeName(self):
- return 'Desktop'
« no previous file with comments | « tools/telemetry/telemetry/internal/platform/desktop_device.py ('k') | tools/telemetry/telemetry/internal/platform/device.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698