| Index: tools/telemetry/telemetry/core/platform/factory.py
|
| diff --git a/tools/telemetry/telemetry/core/platform/factory.py b/tools/telemetry/telemetry/core/platform/factory.py
|
| deleted file mode 100644
|
| index 75ac32dc1060e8054f4a285ecb901b3d1428082c..0000000000000000000000000000000000000000
|
| --- a/tools/telemetry/telemetry/core/platform/factory.py
|
| +++ /dev/null
|
| @@ -1,22 +0,0 @@
|
| -# Copyright 2014 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 sys
|
| -
|
| -from telemetry import decorators
|
| -from telemetry.core.platform import linux_platform_backend
|
| -from telemetry.core.platform import mac_platform_backend
|
| -from telemetry.core.platform import win_platform_backend
|
| -
|
| -
|
| -@decorators.Cache
|
| -def GetPlatformBackendForCurrentOS():
|
| - if sys.platform.startswith('linux'):
|
| - return linux_platform_backend.LinuxPlatformBackend()
|
| - elif sys.platform == 'darwin':
|
| - return mac_platform_backend.MacPlatformBackend()
|
| - elif sys.platform == 'win32':
|
| - return win_platform_backend.WinPlatformBackend()
|
| - else:
|
| - raise NotImplementedError()
|
|
|