telemetry.internal.backends.chrome.chrome_browser_backend
index
telemetry/internal/backends/chrome/chrome_browser_backend.py

# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

 
Modules
       
telemetry.internal.backends.browser_backend
telemetry.decorators
telemetry.internal.backends.chrome_inspector.devtools_client_backend
telemetry.core.exceptions
telemetry.internal.backends.chrome.extension_backend
telemetry.internal.forwarders
logging
telemetry.testing.options_for_unittests
pprint
shlex
sys
telemetry.internal.backends.chrome.system_info_backend
telemetry.internal.backends.chrome.tab_list_backend
telemetry.internal.browser.user_agent
telemetry.core.util
telemetry.internal.browser.web_contents
telemetry.util.wpr_modes

 
Classes
       
telemetry.internal.backends.browser_backend.BrowserBackend(telemetry.internal.backends.app_backend.AppBackend)
ChromeBrowserBackend

 
class ChromeBrowserBackend(telemetry.internal.backends.browser_backend.BrowserBackend)
    An abstract class for chrome browser backends. Provides basic functionality
once a remote-debugger port has been established.
 
 
Method resolution order:
ChromeBrowserBackend
telemetry.internal.backends.browser_backend.BrowserBackend
telemetry.internal.backends.app_backend.AppBackend
__builtin__.object

Methods defined here:
Close(self)
DumpMemory(self, timeout=90)
GetBrowserStartupArgs(self)
GetProcessName(self, cmd_line)
Returns a user-friendly name for the process of the given |cmd_line|.
GetReplayBrowserStartupArgs(self)
GetSystemInfo(self)
HasBrowserFinishedLaunching(self)
SetMemoryPressureNotificationsSuppressed(self, suppressed, timeout=90)
SimulateMemoryPressureNotification(self, pressure_level, timeout=90)
StartTracing(self, trace_options, custom_categories=None, timeout=90)
Args:
    trace_options: An tracing_options.TracingOptions instance.
    custom_categories: An optional string containing a list of
                     comma separated categories that will be traced
                     instead of the default category set.  Example: use
                     "webkit,cc,disabled-by-default-cc.debug" to trace only
                     those three event categories.
StopTracing(self, trace_data_builder)
__init__(self, platform_backend, supports_tab_control, supports_extensions, browser_options, output_profile_path, extensions_to_load)

Data descriptors defined here:
browser_directory
devtools_client
extension_backend
profile_directory
supports_cpu_metrics
supports_memory_dumping
supports_memory_metrics
supports_overriding_memory_pressure_notifications
supports_power_metrics
supports_system_info
supports_tab_control
supports_tracing

Methods inherited from telemetry.internal.backends.browser_backend.BrowserBackend:
GetStackTrace(self)
GetStandardOutput(self)
IsAppRunning(self)
IsBrowserRunning(self)
SetBrowser(self, browser)
Start(self)
UploadLogsToCloudStorage(self)
Uploading log files produce by this browser instance to cloud storage.
 
Check supports_uploading_logs before calling this method.

Data descriptors inherited from telemetry.internal.backends.browser_backend.BrowserBackend:
browser
browser_type
log_file_path
profiling_controller_backend
should_ignore_certificate_errors
supports_extensions
True if this browser backend supports extensions.
supports_uploading_logs
tab_list_backend
wpr_mode

Methods inherited from telemetry.internal.backends.app_backend.AppBackend:
SetApp(self, app)
__del__(self)

Data descriptors inherited from telemetry.internal.backends.app_backend.AppBackend:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
app
app_type
pid
platform_backend