telemetry.internal.browser.profile_types | index telemetry/internal/browser/profile_types.py

`# 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.`

Modules
`` |  |

os | telemetry.core.util |  |

Functions
`` |  |

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).`

GetProfileTypes()
  `Returns a list of all command line options that can be specified for
  profile type.`

Data
`` |  | BASE_PROFILE_TYPES = ['clean', 'default'] PROFILE_TYPE_MAPPING = {'power_user': 'extension_webrequest', 'typical_user': 'content_scripts1'}