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

Side by Side Diff: tools/telemetry/docs/telemetry.core.chrome.browser_backend.html

Issue 17150002: [telemetry] Initial (autogenerated) documentation plus support scripts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update with nits Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1
2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
3 <html><head><title>Python: module telemetry.core.chrome.browser_backend</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>&nbsp;<br>
9 <font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a hre f="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry .core.html"><font color="#ffffff">core</font></a>.<a href="telemetry.core.chrome .html"><font color="#ffffff">chrome</font></a>.browser_backend</strong></big></b ig></font></td
10 ><td align=right valign=bottom
11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href= "file:/Users/nduca/Local/chrome/src/tools/telemetry/telemetry/core/chrome/browse r_backend.py">/Users/nduca/Local/chrome/src/tools/telemetry/telemetry/core/chrom e/browser_backend.py</a></font></td></tr></table>
12 <p><tt>#&nbsp;Copyright&nbsp;(c)&nbsp;2012&nbsp;The&nbsp;Chromium&nbsp;Autho rs.&nbsp;All&nbsp;rights&nbsp;reserved.<br>
13 #&nbsp;Use&nbsp;of&nbsp;this&nbsp;source&nbsp;code&nbsp;is&nbsp;governed&nbsp;by &nbsp;a&nbsp;BSD-style&nbsp;license&nbsp;that&nbsp;can&nbsp;be<br>
14 #&nbsp;found&nbsp;in&nbsp;the&nbsp;LICENSE&nbsp;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>&nbsp;<br>
19 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big ></font></td></tr>
20
21 <tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td> &nbsp;</td>
22 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=t op><a href="telemetry.core.exceptions.html">telemetry.core.exceptions</a><br>
23 <a href="telemetry.core.chrome.extension_dict_backend.html">telemetry.core.chrom e.extension_dict_backend</a><br>
24 <a href="httplib.html">httplib</a><br>
25 <a href="json.html">json</a><br>
26 </td><td width="25%" valign=top><a href="telemetry.core.chrome.misc_web_contents _backend.html">telemetry.core.chrome.misc_web_contents_backend</a><br>
27 <a href="telemetry.unittest.options_for_unittests.html">telemetry.unittest.optio ns_for_unittests</a><br>
28 <a href="re.html">re</a><br>
29 <a href="socket.html">socket</a><br>
30 </td><td width="25%" valign=top><a href="sys.html">sys</a><br>
31 <a href="telemetry.core.chrome.tab_list_backend.html">telemetry.core.chrome.tab_ list_backend</a><br>
32 <a href="telemetry.core.chrome.tracing_backend.html">telemetry.core.chrome.traci ng_backend</a><br>
33 <a href="urllib2.html">urllib2</a><br>
34 </td><td width="25%" valign=top><a href="telemetry.core.user_agent.html">telemet ry.core.user_agent</a><br>
35 <a href="telemetry.core.util.html">telemetry.core.util</a><br>
36 <a href="telemetry.core.wpr_modes.html">telemetry.core.wpr_modes</a><br>
37 <a href="telemetry.core.wpr_server.html">telemetry.core.wpr_server</a><br>
38 </td></tr></table></td></tr></table><p>
39 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
40 <tr bgcolor="#ee77aa">
41 <td colspan=3 valign=bottom>&nbsp;<br>
42 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big ></font></td></tr>
43
44 <tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td> &nbsp;</td>
45 <td width="100%"><dl>
46 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__. object</a>
47 </font></dt><dd>
48 <dl>
49 <dt><font face="helvetica, arial"><a href="telemetry.core.chrome.browser_backend .html#BrowserBackend">BrowserBackend</a>
50 </font></dt><dt><font face="helvetica, arial"><a href="telemetry.core.chrome.bro wser_backend.html#DoNothingForwarder">DoNothingForwarder</a>
51 </font></dt></dl>
52 </dd>
53 <dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions .Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException< /a>)
54 </font></dt><dd>
55 <dl>
56 <dt><font face="helvetica, arial"><a href="telemetry.core.chrome.browser_backend .html#ExtensionsNotSupportedException">ExtensionsNotSupportedException</a>
57 </font></dt></dl>
58 </dd>
59 </dl>
60 <p>
61 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
62 <tr bgcolor="#ffc8d8">
63 <td colspan=3 valign=bottom>&nbsp;<br>
64 <font color="#000000" face="helvetica, arial"><a name="BrowserBackend">class <st rong>BrowserBackend</strong></a>(<a href="__builtin__.html#object">__builtin__.o bject</a>)</font></td></tr>
65
66 <tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
67 <td colspan=2><tt>A&nbsp;base&nbsp;class&nbsp;for&nbsp;browser&nbsp;backends.&nb sp;Provides&nbsp;basic&nbsp;functionality<br>
68 once&nbsp;a&nbsp;remote-debugger&nbsp;port&nbsp;has&nbsp;been&nbsp;established.< br>&nbsp;</tt></td></tr>
69 <tr><td>&nbsp;</td>
70 <td width="100%">Methods defined here:<br>
71 <dl><dt><a name="BrowserBackend-Close"><strong>Close</strong></a>(self)</dt></dl >
72
73 <dl><dt><a name="BrowserBackend-CreateForwarder"><strong>CreateForwarder</strong ></a>(self, *port_pairs)</dt></dl>
74
75 <dl><dt><a name="BrowserBackend-GetBrowserStartupArgs"><strong>GetBrowserStartup Args</strong></a>(self)</dt></dl>
76
77 <dl><dt><a name="BrowserBackend-GetProcessName"><strong>GetProcessName</strong>< /a>(self, cmd_line)</dt><dd><tt>Returns&nbsp;a&nbsp;user-friendly&nbsp;name&nbsp ;for&nbsp;the&nbsp;process&nbsp;of&nbsp;the&nbsp;given&nbsp;|cmd_line|.</tt></dd ></dl>
78
79 <dl><dt><a name="BrowserBackend-GetRemotePort"><strong>GetRemotePort</strong></a >(self, _)</dt></dl>
80
81 <dl><dt><a name="BrowserBackend-GetStandardOutput"><strong>GetStandardOutput</st rong></a>(self)</dt></dl>
82
83 <dl><dt><a name="BrowserBackend-GetTraceResultAndReset"><strong>GetTraceResultAn dReset</strong></a>(self)</dt></dl>
84
85 <dl><dt><a name="BrowserBackend-IsBrowserRunning"><strong>IsBrowserRunning</stro ng></a>(self)</dt></dl>
86
87 <dl><dt><a name="BrowserBackend-Request"><strong>Request</strong></a>(self, path , timeout<font color="#909090">=None</font>)</dt></dl>
88
89 <dl><dt><a name="BrowserBackend-SetBrowser"><strong>SetBrowser</strong></a>(self , browser)</dt></dl>
90
91 <dl><dt><a name="BrowserBackend-StartTracing"><strong>StartTracing</strong></a>( self, custom_categories<font color="#909090">=None</font>)</dt><dd><tt>custom_ca tegories&nbsp;is&nbsp;an&nbsp;optional&nbsp;string&nbsp;containing&nbsp;a&nbsp;l ist&nbsp;of<br>
92 comma&nbsp;separated&nbsp;categories&nbsp;that&nbsp;will&nbsp;be&nbsp;traced&nbs p;instead&nbsp;of&nbsp;the<br>
93 default&nbsp;category&nbsp;set.&nbsp;&nbsp;Example:&nbsp;use<br>
94 "webkit,cc,disabled-by-default-cc.debug"&nbsp;to&nbsp;trace&nbsp;only&nbsp;those &nbsp;three<br>
95 event&nbsp;categories.</tt></dd></dl>
96
97 <dl><dt><a name="BrowserBackend-StopTracing"><strong>StopTracing</strong></a>(se lf)</dt></dl>
98
99 <dl><dt><a name="BrowserBackend-__init__"><strong>__init__</strong></a>(self, is _content_shell, supports_extensions, options)</dt></dl>
100
101 <hr>
102 Data descriptors defined here:<br>
103 <dl><dt><strong>__dict__</strong></dt>
104 <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)< /tt></dd>
105 </dl>
106 <dl><dt><strong>__weakref__</strong></dt>
107 <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp ;(if&nbsp;defined)</tt></dd>
108 </dl>
109 <dl><dt><strong>browser</strong></dt>
110 </dl>
111 <dl><dt><strong>chrome_branch_number</strong></dt>
112 </dl>
113 <dl><dt><strong>extension_dict_backend</strong></dt>
114 </dl>
115 <dl><dt><strong>misc_web_contents_backend</strong></dt>
116 <dd><tt>Access&nbsp;to&nbsp;chrome://oobe/login&nbsp;page&nbsp;which&nbsp;is&nbs p;neither&nbsp;a&nbsp;tab&nbsp;nor&nbsp;an<br>
117 extension.</tt></dd>
118 </dl>
119 <dl><dt><strong>supports_extensions</strong></dt>
120 <dd><tt>True&nbsp;if&nbsp;this&nbsp;browser&nbsp;backend&nbsp;supports&nbsp;exte nsions.</tt></dd>
121 </dl>
122 <dl><dt><strong>supports_tab_control</strong></dt>
123 </dl>
124 <dl><dt><strong>supports_tracing</strong></dt>
125 </dl>
126 <dl><dt><strong>tab_list_backend</strong></dt>
127 </dl>
128 <dl><dt><strong>wpr_mode</strong></dt>
129 </dl>
130 <hr>
131 Data and other attributes defined here:<br>
132 <dl><dt><strong>WEBPAGEREPLAY_HOST</strong> = '127.0.0.1'</dl>
133
134 </td></tr></table> <p>
135 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
136 <tr bgcolor="#ffc8d8">
137 <td colspan=3 valign=bottom>&nbsp;<br>
138 <font color="#000000" face="helvetica, arial"><a name="DoNothingForwarder">class <strong>DoNothingForwarder</strong></a>(<a href="__builtin__.html#object">__bui ltin__.object</a>)</font></td></tr>
139
140 <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
141 <td width="100%">Methods defined here:<br>
142 <dl><dt><a name="DoNothingForwarder-Close"><strong>Close</strong></a>(self)</dt> </dl>
143
144 <dl><dt><a name="DoNothingForwarder-__init__"><strong>__init__</strong></a>(self , *port_pairs)</dt></dl>
145
146 <hr>
147 Data descriptors defined here:<br>
148 <dl><dt><strong>__dict__</strong></dt>
149 <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)< /tt></dd>
150 </dl>
151 <dl><dt><strong>__weakref__</strong></dt>
152 <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp ;(if&nbsp;defined)</tt></dd>
153 </dl>
154 <dl><dt><strong>url</strong></dt>
155 </dl>
156 </td></tr></table> <p>
157 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
158 <tr bgcolor="#ffc8d8">
159 <td colspan=3 valign=bottom>&nbsp;<br>
160 <font color="#000000" face="helvetica, arial"><a name="ExtensionsNotSupportedExc eption">class <strong>ExtensionsNotSupportedException</strong></a>(<a href="exce ptions.html#Exception">exceptions.Exception</a>)</font></td></tr>
161
162 <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
163 <td width="100%"><dl><dt>Method resolution order:</dt>
164 <dd><a href="telemetry.core.chrome.browser_backend.html#ExtensionsNotSupportedEx ception">ExtensionsNotSupportedException</a></dd>
165 <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
166 <dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
167 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
168 </dl>
169 <hr>
170 Data descriptors defined here:<br>
171 <dl><dt><strong>__weakref__</strong></dt>
172 <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp ;(if&nbsp;defined)</tt></dd>
173 </dl>
174 <hr>
175 Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception< /a>:<br>
176 <dl><dt><a name="ExtensionsNotSupportedException-__init__"><strong>__init__</str ong></a>(...)</dt><dd><tt>x.<a href="#ExtensionsNotSupportedException-__init__"> __init__</a>(...)&nbsp;initializes&nbsp;x;&nbsp;see&nbsp;help(type(x))&nbsp;for& nbsp;signature</tt></dd></dl>
177
178 <hr>
179 Data and other attributes inherited from <a href="exceptions.html#Exception">exc eptions.Exception</a>:<br>
180 <dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt ;<dd><tt>T.<a href="#ExtensionsNotSupportedException-__new__">__new__</a>(S,&nbs p;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object< /a>&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
181
182 <hr>
183 Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseEx ception</a>:<br>
184 <dl><dt><a name="ExtensionsNotSupportedException-__delattr__"><strong>__delattr_ _</strong></a>(...)</dt><dd><tt>x.<a href="#ExtensionsNotSupportedException-__de lattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd>< /dl>
185
186 <dl><dt><a name="ExtensionsNotSupportedException-__getattribute__"><strong>__get attribute__</strong></a>(...)</dt><dd><tt>x.<a href="#ExtensionsNotSupportedExce ption-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name </tt></dd></dl>
187
188 <dl><dt><a name="ExtensionsNotSupportedException-__getitem__"><strong>__getitem_ _</strong></a>(...)</dt><dd><tt>x.<a href="#ExtensionsNotSupportedException-__ge titem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
189
190 <dl><dt><a name="ExtensionsNotSupportedException-__getslice__"><strong>__getslic e__</strong></a>(...)</dt><dd><tt>x.<a href="#ExtensionsNotSupportedException-__ getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
191 &nbsp;<br>
192 Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd ></dl>
193
194 <dl><dt><a name="ExtensionsNotSupportedException-__reduce__"><strong>__reduce__< /strong></a>(...)</dt></dl>
195
196 <dl><dt><a name="ExtensionsNotSupportedException-__repr__"><strong>__repr__</str ong></a>(...)</dt><dd><tt>x.<a href="#ExtensionsNotSupportedException-__repr__"> __repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
197
198 <dl><dt><a name="ExtensionsNotSupportedException-__setattr__"><strong>__setattr_ _</strong></a>(...)</dt><dd><tt>x.<a href="#ExtensionsNotSupportedException-__se tattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=& nbsp;value</tt></dd></dl>
199
200 <dl><dt><a name="ExtensionsNotSupportedException-__setstate__"><strong>__setstat e__</strong></a>(...)</dt></dl>
201
202 <dl><dt><a name="ExtensionsNotSupportedException-__str__"><strong>__str__</stron g></a>(...)</dt><dd><tt>x.<a href="#ExtensionsNotSupportedException-__str__">__s tr__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl>
203
204 <dl><dt><a name="ExtensionsNotSupportedException-__unicode__"><strong>__unicode_ _</strong></a>(...)</dt></dl>
205
206 <hr>
207 Data descriptors inherited from <a href="exceptions.html#BaseException">exceptio ns.BaseException</a>:<br>
208 <dl><dt><strong>__dict__</strong></dt>
209 </dl>
210 <dl><dt><strong>args</strong></dt>
211 </dl>
212 <dl><dt><strong>message</strong></dt>
213 </dl>
214 </td></tr></table></td></tr></table>
215 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698