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

Unified Diff: tools/telemetry/telemetry/internal/browser/profile_types.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/browser/profile_types.py
diff --git a/tools/telemetry/telemetry/internal/browser/profile_types.py b/tools/telemetry/telemetry/internal/browser/profile_types.py
deleted file mode 100644
index 73a04088479fc938baee4739f101eee3ef86cc0c..0000000000000000000000000000000000000000
--- a/tools/telemetry/telemetry/internal/browser/profile_types.py
+++ /dev/null
@@ -1,33 +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
-
-from telemetry.core import util
-
-BASE_PROFILE_TYPES = ['clean', 'default']
-
-PROFILE_TYPE_MAPPING = {
- 'typical_user': 'content_scripts1',
- 'power_user': 'extension_webrequest',
-}
-
-def GetProfileTypes():
- """Returns a list of all command line options that can be specified for
- profile type."""
- return BASE_PROFILE_TYPES + PROFILE_TYPE_MAPPING.keys()
-
-def GetProfileDir(profile_type):
- """Given a |profile_type| (as returned by GetProfileTypes()), return the
- directory to use for that profile or None if the profile doesn't need a
- profile directory (e.g. using the browser default profile).
- """
- if profile_type in BASE_PROFILE_TYPES:
- return None
-
- path = os.path.join(
- util.GetTelemetryDir(), 'telemetry', 'internal', 'browser_profiles')
-
- assert os.path.exists(path)
- return path

Powered by Google App Engine
This is Rietveld 408576698