1 2<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3<html><head><title>Python: module telemetry.internal.browser.profile_types</title> 4<meta charset="utf-8"> 5</head><body bgcolor="#f0f0f8"> 6 7<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> 8<tr bgcolor="#7799ee"> 9<td valign=bottom> <br> 10<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.internal.html"><font color="#ffffff">internal</font></a>.<a href="telemetry.internal.browser.html"><font color="#ffffff">browser</font></a>.profile_types</strong></big></big></font></td 11><td align=right valign=bottom 12><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/internal/browser/profile_types.py">telemetry/internal/browser/profile_types.py</a></font></td></tr></table> 13 <p><tt># Copyright 2013 The Chromium Authors. All rights reserved.<br> 14# Use of this source code is governed by a BSD-style license that can be<br> 15# found in the LICENSE file.</tt></p> 16<p> 17<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 18<tr bgcolor="#aa55cc"> 19<td colspan=3 valign=bottom> <br> 20<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> 21 22<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> 23<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="os.html">os</a><br> 24</td><td width="25%" valign=top><a href="telemetry.core.util.html">telemetry.core.util</a><br> 25</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> 26<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 27<tr bgcolor="#eeaa77"> 28<td colspan=3 valign=bottom> <br> 29<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> 30 31<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> 32<td width="100%"><dl><dt><a name="-GetProfileDir"><strong>GetProfileDir</strong></a>(profile_type)</dt><dd><tt>Given a |profile_type| (as returned by <a href="#-GetProfileTypes">GetProfileTypes</a>()), return the<br> 33directory to use for that profile or None if the profile doesn't need a<br> 34profile directory (e.g. using the browser default profile).</tt></dd></dl> 35 <dl><dt><a name="-GetProfileTypes"><strong>GetProfileTypes</strong></a>()</dt><dd><tt>Returns a list of all command line options that can be specified for<br> 36profile type.</tt></dd></dl> 37</td></tr></table><p> 38<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 39<tr bgcolor="#55aa55"> 40<td colspan=3 valign=bottom> <br> 41<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> 42 43<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> 44<td width="100%"><strong>BASE_PROFILE_TYPES</strong> = ['clean', 'default']<br> 45<strong>PROFILE_TYPE_MAPPING</strong> = {'power_user': 'extension_webrequest', 'typical_user': 'content_scripts1'}</td></tr></table> 46</body></html>