| OLD | NEW |
| 1 | 1 |
| 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| 3 <html><head><title>Python: module telemetry.core.chrome.browser_backend</title> | 3 <html><head><title>Python: module telemetry.core.chrome.browser_backend</title> |
| 4 </head><body bgcolor="#f0f0f8"> | 4 </head><body bgcolor="#f0f0f8"> |
| 5 | 5 |
| 6 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> | 6 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> |
| 7 <tr bgcolor="#7799ee"> | 7 <tr bgcolor="#7799ee"> |
| 8 <td valign=bottom> <br> | 8 <td valign=bottom> <br> |
| 9 <font color="#ffffff" face="helvetica, arial"> <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 | 9 <font color="#ffffff" face="helvetica, arial"> <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 | 10 ><td align=right valign=bottom |
| 11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href=
"../telemetry/core/chrome/browser_backend.py">telemetry/core/chrome/browser_back
end.py</a></font></td></tr></table> | 11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href=
"../telemetry/core/chrome/browser_backend.py">telemetry/core/chrome/browser_back
end.py</a></font></td></tr></table> |
| 12 <p><tt># Copyright (c) 2012 The Chromium Autho
rs. All rights reserved.<br> | 12 <p><tt># Copyright (c) 2012 The Chromium Autho
rs. All rights reserved.<br> |
| 13 # Use of this source code is governed by
a BSD-style license that can be<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> | 14 # found in the LICENSE file.</tt></p> |
| 15 <p> | 15 <p> |
| 16 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | 16 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 17 <tr bgcolor="#aa55cc"> | 17 <tr bgcolor="#aa55cc"> |
| 18 <td colspan=3 valign=bottom> <br> | 18 <td colspan=3 valign=bottom> <br> |
| 19 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big
></font></td></tr> | 19 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big
></font></td></tr> |
| 20 | 20 |
| 21 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td>
</td> | 21 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td>
</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> | 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> | 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> | 24 <a href="httplib.html">httplib</a><br> |
| 25 <a href="json.html">json</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> | 26 <a href="telemetry.core.chrome.misc_web_contents_backend.html">telemetry.core.ch
rome.misc_web_contents_backend</a><br> |
| 27 <a href="telemetry.unittest.options_for_unittests.html">telemetry.unittest.optio
ns_for_unittests</a><br> | 27 </td><td width="25%" valign=top><a href="telemetry.unittest.options_for_unittest
s.html">telemetry.unittest.options_for_unittests</a><br> |
| 28 <a href="re.html">re</a><br> | 28 <a href="re.html">re</a><br> |
| 29 <a href="socket.html">socket</a><br> | 29 <a href="socket.html">socket</a><br> |
| 30 </td><td width="25%" valign=top><a href="sys.html">sys</a><br> | 30 <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> | 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> | 32 </td><td width="25%" valign=top><a href="telemetry.core.chrome.tracing_backend.h
tml">telemetry.core.chrome.tracing_backend</a><br> |
| 33 <a href="urllib2.html">urllib2</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> | 34 <a href="telemetry.core.user_agent.html">telemetry.core.user_agent</a><br> |
| 35 <a href="telemetry.core.util.html">telemetry.core.util</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> | 36 <a href="telemetry.core.web_contents.html">telemetry.core.web_contents</a><br> |
| 37 </td><td width="25%" valign=top><a href="telemetry.core.wpr_modes.html">telemetr
y.core.wpr_modes</a><br> |
| 37 <a href="telemetry.core.wpr_server.html">telemetry.core.wpr_server</a><br> | 38 <a href="telemetry.core.wpr_server.html">telemetry.core.wpr_server</a><br> |
| 38 </td></tr></table></td></tr></table><p> | 39 </td></tr></table></td></tr></table><p> |
| 39 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | 40 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 40 <tr bgcolor="#ee77aa"> | 41 <tr bgcolor="#ee77aa"> |
| 41 <td colspan=3 valign=bottom> <br> | 42 <td colspan=3 valign=bottom> <br> |
| 42 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> | 43 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> |
| 43 | 44 |
| 44 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> | 45 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> |
| 45 <td width="100%"><dl> | 46 <td width="100%"><dl> |
| 46 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.
object</a> | 47 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.
object</a> |
| (...skipping 24 matching lines...) Expand all Loading... |
| 71 <dl><dt><a name="BrowserBackend-Close"><strong>Close</strong></a>(self)</dt></dl
> | 72 <dl><dt><a name="BrowserBackend-Close"><strong>Close</strong></a>(self)</dt></dl
> |
| 72 | 73 |
| 73 <dl><dt><a name="BrowserBackend-CreateForwarder"><strong>CreateForwarder</strong
></a>(self, *port_pairs)</dt></dl> | 74 <dl><dt><a name="BrowserBackend-CreateForwarder"><strong>CreateForwarder</strong
></a>(self, *port_pairs)</dt></dl> |
| 74 | 75 |
| 75 <dl><dt><a name="BrowserBackend-GetBrowserStartupArgs"><strong>GetBrowserStartup
Args</strong></a>(self)</dt></dl> | 76 <dl><dt><a name="BrowserBackend-GetBrowserStartupArgs"><strong>GetBrowserStartup
Args</strong></a>(self)</dt></dl> |
| 76 | 77 |
| 77 <dl><dt><a name="BrowserBackend-GetProcessName"><strong>GetProcessName</strong><
/a>(self, cmd_line)</dt><dd><tt>Returns a user-friendly name 
;for the process of the given |cmd_line|.</tt></dd
></dl> | 78 <dl><dt><a name="BrowserBackend-GetProcessName"><strong>GetProcessName</strong><
/a>(self, cmd_line)</dt><dd><tt>Returns a user-friendly name 
;for the process of the given |cmd_line|.</tt></dd
></dl> |
| 78 | 79 |
| 79 <dl><dt><a name="BrowserBackend-GetRemotePort"><strong>GetRemotePort</strong></a
>(self, _)</dt></dl> | 80 <dl><dt><a name="BrowserBackend-GetRemotePort"><strong>GetRemotePort</strong></a
>(self, _)</dt></dl> |
| 80 | 81 |
| 82 <dl><dt><a name="BrowserBackend-GetStackTrace"><strong>GetStackTrace</strong></a
>(self)</dt></dl> |
| 83 |
| 81 <dl><dt><a name="BrowserBackend-GetStandardOutput"><strong>GetStandardOutput</st
rong></a>(self)</dt></dl> | 84 <dl><dt><a name="BrowserBackend-GetStandardOutput"><strong>GetStandardOutput</st
rong></a>(self)</dt></dl> |
| 82 | 85 |
| 83 <dl><dt><a name="BrowserBackend-GetTraceResultAndReset"><strong>GetTraceResultAn
dReset</strong></a>(self)</dt></dl> | 86 <dl><dt><a name="BrowserBackend-GetTraceResultAndReset"><strong>GetTraceResultAn
dReset</strong></a>(self)</dt></dl> |
| 84 | 87 |
| 85 <dl><dt><a name="BrowserBackend-IsBrowserRunning"><strong>IsBrowserRunning</stro
ng></a>(self)</dt></dl> | 88 <dl><dt><a name="BrowserBackend-IsBrowserRunning"><strong>IsBrowserRunning</stro
ng></a>(self)</dt></dl> |
| 86 | 89 |
| 87 <dl><dt><a name="BrowserBackend-Request"><strong>Request</strong></a>(self, path
, timeout<font color="#909090">=None</font>)</dt></dl> | 90 <dl><dt><a name="BrowserBackend-Request"><strong>Request</strong></a>(self, path
, timeout<font color="#909090">=None</font>)</dt></dl> |
| 88 | 91 |
| 89 <dl><dt><a name="BrowserBackend-SetBrowser"><strong>SetBrowser</strong></a>(self
, browser)</dt></dl> | 92 <dl><dt><a name="BrowserBackend-SetBrowser"><strong>SetBrowser</strong></a>(self
, browser)</dt></dl> |
| 90 | 93 |
| 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 is an optional string containing a l
ist of<br> | 94 <dl><dt><a name="BrowserBackend-StartTracing"><strong>StartTracing</strong></a>(
self, custom_categories<font color="#909090">=None</font>, timeout<font color="#
909090">=60</font>)</dt><dd><tt>custom_categories is an optional&
nbsp;string containing a list of<br> |
| 92 comma separated categories that will be traced&nbs
p;instead of the<br> | 95 comma separated categories that will be traced&nbs
p;instead of the<br> |
| 93 default category set. Example: use<br> | 96 default category set. Example: use<br> |
| 94 "webkit,cc,disabled-by-default-cc.debug" to trace only those
three<br> | 97 "webkit,cc,disabled-by-default-cc.debug" to trace only those
three<br> |
| 95 event categories.</tt></dd></dl> | 98 event categories.</tt></dd></dl> |
| 96 | 99 |
| 97 <dl><dt><a name="BrowserBackend-StopTracing"><strong>StopTracing</strong></a>(se
lf)</dt></dl> | 100 <dl><dt><a name="BrowserBackend-StopTracing"><strong>StopTracing</strong></a>(se
lf)</dt></dl> |
| 98 | 101 |
| 99 <dl><dt><a name="BrowserBackend-__init__"><strong>__init__</strong></a>(self, is
_content_shell, supports_extensions, options)</dt></dl> | 102 <dl><dt><a name="BrowserBackend-__init__"><strong>__init__</strong></a>(self, is
_content_shell, supports_extensions, options)</dt></dl> |
| 100 | 103 |
| 101 <hr> | 104 <hr> |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 <hr> | 209 <hr> |
| 207 Data descriptors inherited from <a href="exceptions.html#BaseException">exceptio
ns.BaseException</a>:<br> | 210 Data descriptors inherited from <a href="exceptions.html#BaseException">exceptio
ns.BaseException</a>:<br> |
| 208 <dl><dt><strong>__dict__</strong></dt> | 211 <dl><dt><strong>__dict__</strong></dt> |
| 209 </dl> | 212 </dl> |
| 210 <dl><dt><strong>args</strong></dt> | 213 <dl><dt><strong>args</strong></dt> |
| 211 </dl> | 214 </dl> |
| 212 <dl><dt><strong>message</strong></dt> | 215 <dl><dt><strong>message</strong></dt> |
| 213 </dl> | 216 </dl> |
| 214 </td></tr></table></td></tr></table> | 217 </td></tr></table></td></tr></table> |
| 215 </body></html> | 218 </body></html> |
| OLD | NEW |