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

Unified Diff: tools/telemetry/telemetry/util/command_line.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/util/command_line.py
diff --git a/tools/telemetry/telemetry/util/command_line.py b/tools/telemetry/telemetry/util/command_line.py
deleted file mode 100644
index faf870f402e3ec66119641738187714d58f6c275..0000000000000000000000000000000000000000
--- a/tools/telemetry/telemetry/util/command_line.py
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 2015 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 argparse
-
-from telemetry.internal.util import command_line
-
-
-class ArgParseCommand(command_line.Command):
- usage = ''
-
- @classmethod
- def CreateParser(cls):
- return argparse.ArgumentParser('%%prog %s %s' % (cls.Name(), cls.usage),
- description=cls.Description())
-
- @classmethod
- def AddCommandLineArgs(cls, parser, environment):
- # pylint: disable=arguments-differ
- pass
-
- @classmethod
- def ProcessCommandLineArgs(cls, parser, options, extra_args, environment):
- # pylint: disable=arguments-differ
- pass
-
- def Run(self, options, extra_args=None):
- # pylint: disable=arguments-differ
- raise NotImplementedError()
-
- @classmethod
- def main(cls, args=None):
- """Main method to run this command as a standalone script."""
- parser = cls.CreateParser()
- cls.AddCommandLineArgs(parser, None)
- options, extra_args = parser.parse_known_args(args=args)
- cls.ProcessCommandLineArgs(parser, options, extra_args, None)
- return min(cls().Run(options, extra_args), 255)
« no previous file with comments | « tools/telemetry/telemetry/util/color_histogram_unittest.py ('k') | tools/telemetry/telemetry/util/image_util.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698