1 2<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3<html><head><title>Python: module telemetry.internal.browser.extension_to_load</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>.extension_to_load</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/extension_to_load.py">telemetry/internal/browser/extension_to_load.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="telemetry.internal.backends.chrome.crx_id.html">telemetry.internal.backends.chrome.crx_id</a><br> 24</td><td width="25%" valign=top><a href="os.html">os</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="#ee77aa"> 28<td colspan=3 valign=bottom> <br> 29<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> 30 31<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> 32<td width="100%"><dl> 33<dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a> 34</font></dt><dd> 35<dl> 36<dt><font face="helvetica, arial"><a href="telemetry.internal.browser.extension_to_load.html#ExtensionToLoad">ExtensionToLoad</a> 37</font></dt></dl> 38</dd> 39<dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException</a>) 40</font></dt><dd> 41<dl> 42<dt><font face="helvetica, arial"><a href="telemetry.internal.browser.extension_to_load.html#ExtensionPathNonExistentException">ExtensionPathNonExistentException</a> 43</font></dt><dt><font face="helvetica, arial"><a href="telemetry.internal.browser.extension_to_load.html#MissingPublicKeyException">MissingPublicKeyException</a> 44</font></dt></dl> 45</dd> 46</dl> 47 <p> 48<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 49<tr bgcolor="#ffc8d8"> 50<td colspan=3 valign=bottom> <br> 51<font color="#000000" face="helvetica, arial"><a name="ExtensionPathNonExistentException">class <strong>ExtensionPathNonExistentException</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr> 52 53<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> 54<td width="100%"><dl><dt>Method resolution order:</dt> 55<dd><a href="telemetry.internal.browser.extension_to_load.html#ExtensionPathNonExistentException">ExtensionPathNonExistentException</a></dd> 56<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> 57<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> 58<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 59</dl> 60<hr> 61Data descriptors defined here:<br> 62<dl><dt><strong>__weakref__</strong></dt> 63<dd><tt>list of weak references to the object (if defined)</tt></dd> 64</dl> 65<hr> 66Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> 67<dl><dt><a name="ExtensionPathNonExistentException-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#ExtensionPathNonExistentException-__init__">__init__</a>(...) initializes x; see help(type(x)) for signature</tt></dd></dl> 68 69<hr> 70Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> 71<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#ExtensionPathNonExistentException-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> 72 73<hr> 74Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> 75<dl><dt><a name="ExtensionPathNonExistentException-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#ExtensionPathNonExistentException-__delattr__">__delattr__</a>('name') <==> del x.name</tt></dd></dl> 76 77<dl><dt><a name="ExtensionPathNonExistentException-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#ExtensionPathNonExistentException-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl> 78 79<dl><dt><a name="ExtensionPathNonExistentException-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#ExtensionPathNonExistentException-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl> 80 81<dl><dt><a name="ExtensionPathNonExistentException-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#ExtensionPathNonExistentException-__getslice__">__getslice__</a>(i, j) <==> x[i:j]<br> 82 <br> 83Use of negative indices is not supported.</tt></dd></dl> 84 85<dl><dt><a name="ExtensionPathNonExistentException-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl> 86 87<dl><dt><a name="ExtensionPathNonExistentException-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#ExtensionPathNonExistentException-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl> 88 89<dl><dt><a name="ExtensionPathNonExistentException-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#ExtensionPathNonExistentException-__setattr__">__setattr__</a>('name', value) <==> x.name = value</tt></dd></dl> 90 91<dl><dt><a name="ExtensionPathNonExistentException-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl> 92 93<dl><dt><a name="ExtensionPathNonExistentException-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#ExtensionPathNonExistentException-__str__">__str__</a>() <==> str(x)</tt></dd></dl> 94 95<dl><dt><a name="ExtensionPathNonExistentException-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl> 96 97<hr> 98Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> 99<dl><dt><strong>__dict__</strong></dt> 100</dl> 101<dl><dt><strong>args</strong></dt> 102</dl> 103<dl><dt><strong>message</strong></dt> 104</dl> 105</td></tr></table> <p> 106<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 107<tr bgcolor="#ffc8d8"> 108<td colspan=3 valign=bottom> <br> 109<font color="#000000" face="helvetica, arial"><a name="ExtensionToLoad">class <strong>ExtensionToLoad</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> 110 111<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> 112<td width="100%">Methods defined here:<br> 113<dl><dt><a name="ExtensionToLoad-__init__"><strong>__init__</strong></a>(self, path, browser_type, is_component<font color="#909090">=False</font>)</dt></dl> 114 115<hr> 116Data descriptors defined here:<br> 117<dl><dt><strong>__dict__</strong></dt> 118<dd><tt>dictionary for instance variables (if defined)</tt></dd> 119</dl> 120<dl><dt><strong>__weakref__</strong></dt> 121<dd><tt>list of weak references to the object (if defined)</tt></dd> 122</dl> 123<dl><dt><strong>extension_id</strong></dt> 124<dd><tt>Unique extension id of this extension.</tt></dd> 125</dl> 126<dl><dt><strong>is_component</strong></dt> 127<dd><tt>Whether this extension should be loaded as a component extension.</tt></dd> 128</dl> 129<dl><dt><strong>local_path</strong></dt> 130<dd><tt>Path to extension destination directory, for remote instances of<br> 131chrome</tt></dd> 132</dl> 133<dl><dt><strong>path</strong></dt> 134<dd><tt>Path to extension source directory.</tt></dd> 135</dl> 136</td></tr></table> <p> 137<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 138<tr bgcolor="#ffc8d8"> 139<td colspan=3 valign=bottom> <br> 140<font color="#000000" face="helvetica, arial"><a name="MissingPublicKeyException">class <strong>MissingPublicKeyException</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr> 141 142<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> 143<td width="100%"><dl><dt>Method resolution order:</dt> 144<dd><a href="telemetry.internal.browser.extension_to_load.html#MissingPublicKeyException">MissingPublicKeyException</a></dd> 145<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> 146<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> 147<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 148</dl> 149<hr> 150Data descriptors defined here:<br> 151<dl><dt><strong>__weakref__</strong></dt> 152<dd><tt>list of weak references to the object (if defined)</tt></dd> 153</dl> 154<hr> 155Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> 156<dl><dt><a name="MissingPublicKeyException-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#MissingPublicKeyException-__init__">__init__</a>(...) initializes x; see help(type(x)) for signature</tt></dd></dl> 157 158<hr> 159Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> 160<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#MissingPublicKeyException-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> 161 162<hr> 163Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> 164<dl><dt><a name="MissingPublicKeyException-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#MissingPublicKeyException-__delattr__">__delattr__</a>('name') <==> del x.name</tt></dd></dl> 165 166<dl><dt><a name="MissingPublicKeyException-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#MissingPublicKeyException-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl> 167 168<dl><dt><a name="MissingPublicKeyException-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#MissingPublicKeyException-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl> 169 170<dl><dt><a name="MissingPublicKeyException-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#MissingPublicKeyException-__getslice__">__getslice__</a>(i, j) <==> x[i:j]<br> 171 <br> 172Use of negative indices is not supported.</tt></dd></dl> 173 174<dl><dt><a name="MissingPublicKeyException-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl> 175 176<dl><dt><a name="MissingPublicKeyException-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#MissingPublicKeyException-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl> 177 178<dl><dt><a name="MissingPublicKeyException-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#MissingPublicKeyException-__setattr__">__setattr__</a>('name', value) <==> x.name = value</tt></dd></dl> 179 180<dl><dt><a name="MissingPublicKeyException-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl> 181 182<dl><dt><a name="MissingPublicKeyException-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#MissingPublicKeyException-__str__">__str__</a>() <==> str(x)</tt></dd></dl> 183 184<dl><dt><a name="MissingPublicKeyException-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl> 185 186<hr> 187Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> 188<dl><dt><strong>__dict__</strong></dt> 189</dl> 190<dl><dt><strong>args</strong></dt> 191</dl> 192<dl><dt><strong>message</strong></dt> 193</dl> 194</td></tr></table></td></tr></table> 195</body></html>