1 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3 <html><head><title>Python: module telemetry.internal.backends.chrome.ios_browser_backend</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.backends.html"><font color="#ffffff">backends</font></a>.<a href="telemetry.internal.backends.chrome.html"><font color="#ffffff">chrome</font></a>.ios_browser_backend</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/backends/chrome/ios_browser_backend.py">telemetry/internal/backends/chrome/ios_browser_backend.py</a></font></td></tr></table> 13 <p><tt># Copyright 2014 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.chrome_browser_backend.html">telemetry.internal.backends.chrome.chrome_browser_backend</a><br> 24 <a href="contextlib.html">contextlib</a><br> 25 <a href="telemetry.core.exceptions.html">telemetry.core.exceptions</a><br> 26 </td><td width="25%" valign=top><a href="json.html">json</a><br> 27 <a href="logging.html">logging</a><br> 28 <a href="re.html">re</a><br> 29 </td><td width="25%" valign=top><a href="telemetry.internal.backends.chrome.system_info_backend.html">telemetry.internal.backends.chrome.system_info_backend</a><br> 30 <a href="urllib2.html">urllib2</a><br> 31 <a href="telemetry.core.util.html">telemetry.core.util</a><br> 32 </td><td width="25%" valign=top></td></tr></table></td></tr></table><p> 33 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 34 <tr bgcolor="#ee77aa"> 35 <td colspan=3 valign=bottom> <br> 36 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> 37 38 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> 39 <td width="100%"><dl> 40 <dt><font face="helvetica, arial"><a href="telemetry.internal.backends.chrome.chrome_browser_backend.html#ChromeBrowserBackend">telemetry.internal.backends.chrome.chrome_browser_backend.ChromeBrowserBackend</a>(<a href="telemetry.internal.backends.browser_backend.html#BrowserBackend">telemetry.internal.backends.browser_backend.BrowserBackend</a>) 41 </font></dt><dd> 42 <dl> 43 <dt><font face="helvetica, arial"><a href="telemetry.internal.backends.chrome.ios_browser_backend.html#IosBrowserBackend">IosBrowserBackend</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="IosBrowserBackend">class <strong>IosBrowserBackend</strong></a>(<a href="telemetry.internal.backends.chrome.chrome_browser_backend.html#ChromeBrowserBackend">telemetry.internal.backends.chrome.chrome_browser_backend.ChromeBrowserBackend</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.backends.chrome.ios_browser_backend.html#IosBrowserBackend">IosBrowserBackend</a></dd> 56 <dd><a href="telemetry.internal.backends.chrome.chrome_browser_backend.html#ChromeBrowserBackend">telemetry.internal.backends.chrome.chrome_browser_backend.ChromeBrowserBackend</a></dd> 57 <dd><a href="telemetry.internal.backends.browser_backend.html#BrowserBackend">telemetry.internal.backends.browser_backend.BrowserBackend</a></dd> 58 <dd><a href="telemetry.internal.backends.app_backend.html#AppBackend">telemetry.internal.backends.app_backend.AppBackend</a></dd> 59 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 60 </dl> 61 <hr> 62 Methods defined here:<br> 63 <dl><dt><a name="IosBrowserBackend-GetBrowserStartupArgs"><strong>GetBrowserStartupArgs</strong></a>(self)</dt></dl> 64 65 <dl><dt><a name="IosBrowserBackend-GetDeviceUrls"><strong>GetDeviceUrls</strong></a>(self)</dt></dl> 66 67 <dl><dt><a name="IosBrowserBackend-GetStackTrace"><strong>GetStackTrace</strong></a>(self)</dt></dl> 68 69 <dl><dt><a name="IosBrowserBackend-GetStandardOutput"><strong>GetStandardOutput</strong></a>(self)</dt></dl> 70 71 <dl><dt><a name="IosBrowserBackend-GetSystemInfo"><strong>GetSystemInfo</strong></a>(self)</dt></dl> 72 73 <dl><dt><a name="IosBrowserBackend-GetWebSocketDebuggerUrls"><strong>GetWebSocketDebuggerUrls</strong></a>(self, device_urls)</dt><dd><tt>Get a list of the websocket debugger URLs to communicate with<br> 74 all running UIWebViews.</tt></dd></dl> 75 76 <dl><dt><a name="IosBrowserBackend-HasBrowserFinishedLaunching"><strong>HasBrowserFinishedLaunching</strong></a>(self)</dt></dl> 77 78 <dl><dt><a name="IosBrowserBackend-IsBrowserRunning"><strong>IsBrowserRunning</strong></a>(self)</dt></dl> 79 80 <dl><dt><a name="IosBrowserBackend-Start"><strong>Start</strong></a>(self)</dt></dl> 81 82 <dl><dt><a name="IosBrowserBackend-UpdateRunningBrowsersInfo"><strong>UpdateRunningBrowsersInfo</strong></a>(self)</dt><dd><tt>Refresh to match current state of the running browser.</tt></dd></dl> 83 84 <dl><dt><a name="IosBrowserBackend-__init__"><strong>__init__</strong></a>(self, ios_platform_backend, browser_options)</dt></dl> 85 86 <dl><dt><a name="IosBrowserBackend-extension_backend"><strong>extension_backend</strong></a>(self)</dt></dl> 87 88 <hr> 89 Data descriptors defined here:<br> 90 <dl><dt><strong>browser_directory</strong></dt> 91 </dl> 92 <dl><dt><strong>profile_directory</strong></dt> 93 </dl> 94 <hr> 95 Methods inherited from <a href="telemetry.internal.backends.chrome.chrome_browser_backend.html#ChromeBrowserBackend">telemetry.internal.backends.chrome.chrome_browser_backend.ChromeBrowserBackend</a>:<br> 96 <dl><dt><a name="IosBrowserBackend-Close"><strong>Close</strong></a>(self)</dt></dl> 97 98 <dl><dt><a name="IosBrowserBackend-DumpMemory"><strong>DumpMemory</strong></a>(self, timeout<font color="#909090">=90</font>)</dt></dl> 99 100 <dl><dt><a name="IosBrowserBackend-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> 101 102 <dl><dt><a name="IosBrowserBackend-GetReplayBrowserStartupArgs"><strong>GetReplayBrowserStartupArgs</strong></a>(self)</dt></dl> 103 104 <dl><dt><a name="IosBrowserBackend-SetMemoryPressureNotificationsSuppressed"><strong>SetMemoryPressureNotificationsSuppressed</strong></a>(self, suppressed, timeout<font color="#909090">=90</font>)</dt></dl> 105 106 <dl><dt><a name="IosBrowserBackend-SimulateMemoryPressureNotification"><strong>SimulateMemoryPressureNotification</strong></a>(self, pressure_level, timeout<font color="#909090">=90</font>)</dt></dl> 107 108 <dl><dt><a name="IosBrowserBackend-StartTracing"><strong>StartTracing</strong></a>(self, trace_options, custom_categories<font color="#909090">=None</font>, timeout<font color="#909090">=90</font>)</dt><dd><tt>Args:<br> 109 trace_options: An tracing_options.TracingOptions instance.<br> 110 custom_categories: An optional string containing a list of<br> 111 comma separated categories that will be traced<br> 112 instead of the default category set. Example: use<br> 113 "webkit,cc,disabled-by-default-cc.debug" to trace only<br> 114 those three event categories.</tt></dd></dl> 115 116 <dl><dt><a name="IosBrowserBackend-StopTracing"><strong>StopTracing</strong></a>(self, trace_data_builder)</dt></dl> 117 118 <hr> 119 Data descriptors inherited from <a href="telemetry.internal.backends.chrome.chrome_browser_backend.html#ChromeBrowserBackend">telemetry.internal.backends.chrome.chrome_browser_backend.ChromeBrowserBackend</a>:<br> 120 <dl><dt><strong>devtools_client</strong></dt> 121 </dl> 122 <dl><dt><strong>supports_cpu_metrics</strong></dt> 123 </dl> 124 <dl><dt><strong>supports_memory_dumping</strong></dt> 125 </dl> 126 <dl><dt><strong>supports_memory_metrics</strong></dt> 127 </dl> 128 <dl><dt><strong>supports_overriding_memory_pressure_notifications</strong></dt> 129 </dl> 130 <dl><dt><strong>supports_power_metrics</strong></dt> 131 </dl> 132 <dl><dt><strong>supports_system_info</strong></dt> 133 </dl> 134 <dl><dt><strong>supports_tab_control</strong></dt> 135 </dl> 136 <dl><dt><strong>supports_tracing</strong></dt> 137 </dl> 138 <hr> 139 Methods inherited from <a href="telemetry.internal.backends.browser_backend.html#BrowserBackend">telemetry.internal.backends.browser_backend.BrowserBackend</a>:<br> 140 <dl><dt><a name="IosBrowserBackend-IsAppRunning"><strong>IsAppRunning</strong></a>(self)</dt></dl> 141 142 <dl><dt><a name="IosBrowserBackend-SetBrowser"><strong>SetBrowser</strong></a>(self, browser)</dt></dl> 143 144 <dl><dt><a name="IosBrowserBackend-UploadLogsToCloudStorage"><strong>UploadLogsToCloudStorage</strong></a>(self)</dt><dd><tt>Uploading log files produce by this browser instance to cloud storage.<br> 145 <br> 146 Check supports_uploading_logs before calling this method.</tt></dd></dl> 147 148 <hr> 149 Data descriptors inherited from <a href="telemetry.internal.backends.browser_backend.html#BrowserBackend">telemetry.internal.backends.browser_backend.BrowserBackend</a>:<br> 150 <dl><dt><strong>browser</strong></dt> 151 </dl> 152 <dl><dt><strong>browser_type</strong></dt> 153 </dl> 154 <dl><dt><strong>log_file_path</strong></dt> 155 </dl> 156 <dl><dt><strong>profiling_controller_backend</strong></dt> 157 </dl> 158 <dl><dt><strong>should_ignore_certificate_errors</strong></dt> 159 </dl> 160 <dl><dt><strong>supports_extensions</strong></dt> 161 <dd><tt>True if this browser backend supports extensions.</tt></dd> 162 </dl> 163 <dl><dt><strong>supports_uploading_logs</strong></dt> 164 </dl> 165 <dl><dt><strong>tab_list_backend</strong></dt> 166 </dl> 167 <dl><dt><strong>wpr_mode</strong></dt> 168 </dl> 169 <hr> 170 Methods inherited from <a href="telemetry.internal.backends.app_backend.html#AppBackend">telemetry.internal.backends.app_backend.AppBackend</a>:<br> 171 <dl><dt><a name="IosBrowserBackend-SetApp"><strong>SetApp</strong></a>(self, app)</dt></dl> 172 173 <dl><dt><a name="IosBrowserBackend-__del__"><strong>__del__</strong></a>(self)</dt></dl> 174 175 <hr> 176 Data descriptors inherited from <a href="telemetry.internal.backends.app_backend.html#AppBackend">telemetry.internal.backends.app_backend.AppBackend</a>:<br> 177 <dl><dt><strong>__dict__</strong></dt> 178 <dd><tt>dictionary for instance variables (if defined)</tt></dd> 179 </dl> 180 <dl><dt><strong>__weakref__</strong></dt> 181 <dd><tt>list of weak references to the object (if defined)</tt></dd> 182 </dl> 183 <dl><dt><strong>app</strong></dt> 184 </dl> 185 <dl><dt><strong>app_type</strong></dt> 186 </dl> 187 <dl><dt><strong>pid</strong></dt> 188 </dl> 189 <dl><dt><strong>platform_backend</strong></dt> 190 </dl> 191 </td></tr></table></td></tr></table> 192 </body></html>