1 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3 <html><head><title>Python: module telemetry.core.extension_to_load</title> 4 </head><body bgcolor="#f0f0f8"> 5 6 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> 7 <tr bgcolor="#7799ee"> 8 <td valign=bottom> <br> 9 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.core.html"><font color="#ffffff">core</font></a>.extension_to_load</strong></big></big></font></td 10 ><td align=right valign=bottom 11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/core/extension_to_load.py">telemetry/core/extension_to_load.py</a></font></td></tr></table> 12 <p><tt># Copyright (c) 2013 The Chromium Authors. All rights reserved.<br> 13 # Use of this source code is governed by a BSD-style license that can be<br> 14 # found in the LICENSE file.</tt></p> 15 <p> 16 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 17 <tr bgcolor="#aa55cc"> 18 <td colspan=3 valign=bottom> <br> 19 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> 20 21 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> 22 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="telemetry.core.chrome.crx_id.html">telemetry.core.chrome.crx_id</a><br> 23 </td><td width="25%" valign=top><a href="os.html">os</a><br> 24 </td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> 25 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 26 <tr bgcolor="#ee77aa"> 27 <td colspan=3 valign=bottom> <br> 28 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> 29 30 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> 31 <td width="100%"><dl> 32 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a> 33 </font></dt><dd> 34 <dl> 35 <dt><font face="helvetica, arial"><a href="telemetry.core.extension_to_load.html#ExtensionToLoad">ExtensionToLoad</a> 36 </font></dt></dl> 37 </dd> 38 <dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException</a>) 39 </font></dt><dd> 40 <dl> 41 <dt><font face="helvetica, arial"><a href="telemetry.core.extension_to_load.html#ExtensionPathNonExistentException">ExtensionPathNonExistentException</a> 42 </font></dt><dt><font face="helvetica, arial"><a href="telemetry.core.extension_to_load.html#MissingPublicKeyException">MissingPublicKeyException</a> 43 </font></dt></dl> 44 </dd> 45 </dl> 46 <p> 47 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 48 <tr bgcolor="#ffc8d8"> 49 <td colspan=3 valign=bottom> <br> 50 <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> 51 52 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> 53 <td width="100%"><dl><dt>Method resolution order:</dt> 54 <dd><a href="telemetry.core.extension_to_load.html#ExtensionPathNonExistentException">ExtensionPathNonExistentException</a></dd> 55 <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> 56 <dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> 57 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 58 </dl> 59 <hr> 60 Data descriptors defined here:<br> 61 <dl><dt><strong>__weakref__</strong></dt> 62 <dd><tt>list of weak references to the object (if defined)</tt></dd> 63 </dl> 64 <hr> 65 Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> 66 <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> 67 68 <hr> 69 Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> 70 <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> 71 72 <hr> 73 Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> 74 <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> 75 76 <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> 77 78 <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> 79 80 <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> 81 <br> 82 Use of negative indices is not supported.</tt></dd></dl> 83 84 <dl><dt><a name="ExtensionPathNonExistentException-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl> 85 86 <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> 87 88 <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> 89 90 <dl><dt><a name="ExtensionPathNonExistentException-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl> 91 92 <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> 93 94 <dl><dt><a name="ExtensionPathNonExistentException-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl> 95 96 <hr> 97 Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> 98 <dl><dt><strong>__dict__</strong></dt> 99 </dl> 100 <dl><dt><strong>args</strong></dt> 101 </dl> 102 <dl><dt><strong>message</strong></dt> 103 </dl> 104 </td></tr></table> <p> 105 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 106 <tr bgcolor="#ffc8d8"> 107 <td colspan=3 valign=bottom> <br> 108 <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> 109 110 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> 111 <td width="100%">Methods defined here:<br> 112 <dl><dt><a name="ExtensionToLoad-__init__"><strong>__init__</strong></a>(self, path, browser_type, is_component<font color="#909090">=False</font>)</dt></dl> 113 114 <hr> 115 Data descriptors defined here:<br> 116 <dl><dt><strong>__dict__</strong></dt> 117 <dd><tt>dictionary for instance variables (if defined)</tt></dd> 118 </dl> 119 <dl><dt><strong>__weakref__</strong></dt> 120 <dd><tt>list of weak references to the object (if defined)</tt></dd> 121 </dl> 122 <dl><dt><strong>extension_id</strong></dt> 123 <dd><tt>Unique extension id of this extension.</tt></dd> 124 </dl> 125 <dl><dt><strong>is_component</strong></dt> 126 <dd><tt>Whether this extension should be loaded as a component extension.</tt></dd> 127 </dl> 128 <dl><dt><strong>local_path</strong></dt> 129 <dd><tt>Path to extension destination directory, for remote instances of<br> 130 chrome</tt></dd> 131 </dl> 132 <dl><dt><strong>path</strong></dt> 133 <dd><tt>Path to extension source directory.</tt></dd> 134 </dl> 135 </td></tr></table> <p> 136 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 137 <tr bgcolor="#ffc8d8"> 138 <td colspan=3 valign=bottom> <br> 139 <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> 140 141 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> 142 <td width="100%"><dl><dt>Method resolution order:</dt> 143 <dd><a href="telemetry.core.extension_to_load.html#MissingPublicKeyException">MissingPublicKeyException</a></dd> 144 <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> 145 <dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> 146 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 147 </dl> 148 <hr> 149 Data descriptors defined here:<br> 150 <dl><dt><strong>__weakref__</strong></dt> 151 <dd><tt>list of weak references to the object (if defined)</tt></dd> 152 </dl> 153 <hr> 154 Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> 155 <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> 156 157 <hr> 158 Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> 159 <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> 160 161 <hr> 162 Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> 163 <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> 164 165 <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> 166 167 <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> 168 169 <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> 170 <br> 171 Use of negative indices is not supported.</tt></dd></dl> 172 173 <dl><dt><a name="MissingPublicKeyException-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl> 174 175 <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> 176 177 <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> 178 179 <dl><dt><a name="MissingPublicKeyException-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl> 180 181 <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> 182 183 <dl><dt><a name="MissingPublicKeyException-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl> 184 185 <hr> 186 Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> 187 <dl><dt><strong>__dict__</strong></dt> 188 </dl> 189 <dl><dt><strong>args</strong></dt> 190 </dl> 191 <dl><dt><strong>message</strong></dt> 192 </dl> 193 </td></tr></table></td></tr></table> 194 </body></html>