| 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'
|
|
|