telemetry.core.chrome.browser_backend
index
telemetry/core/chrome/browser_backend.py

# Copyright (c) 2012 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.core.exceptions
telemetry.core.chrome.extension_dict_backend
httplib
json
telemetry.core.chrome.misc_web_contents_backend
telemetry.unittest.options_for_unittests
re
socket
sys
telemetry.core.chrome.tab_list_backend
telemetry.core.chrome.tracing_backend
urllib2
telemetry.core.user_agent
telemetry.core.util
telemetry.core.web_contents
telemetry.core.wpr_modes
telemetry.core.wpr_server

 
Classes
       
__builtin__.object
BrowserBackend
DoNothingForwarder
exceptions.Exception(exceptions.BaseException)
ExtensionsNotSupportedException

 
class BrowserBackend(__builtin__.object)
    A base class for browser backends. Provides basic functionality
once a remote-debugger port has been established.
 
  Methods defined here:
Close(self)
CreateForwarder(self, *port_pairs)
GetBrowserStartupArgs(self)
GetProcessName(self, cmd_line)
Returns a user-friendly name for the process of the given |cmd_line|.
GetRemotePort(self, _)
GetStackTrace(self)
GetStandardOutput(self)
GetTraceResultAndReset(self)
IsBrowserRunning(self)
Request(self, path, timeout=None)
SetBrowser(self, browser)
StartTracing(self, custom_categories=None, timeout=60)
custom_categories is 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)
__init__(self, is_content_shell, supports_extensions, options)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
browser
chrome_branch_number
extension_dict_backend
misc_web_contents_backend
Access to chrome://oobe/login page which is neither a tab nor an
extension.
supports_extensions
True if this browser backend supports extensions.
supports_tab_control
supports_tracing
tab_list_backend
wpr_mode

Data and other attributes defined here:
WEBPAGEREPLAY_HOST = '127.0.0.1'

 
class DoNothingForwarder(__builtin__.object)
     Methods defined here:
Close(self)
__init__(self, *port_pairs)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
url

 
class ExtensionsNotSupportedException(exceptions.Exception)
    
Method resolution order:
ExtensionsNotSupportedException
exceptions.Exception
exceptions.BaseException
__builtin__.object

Data descriptors defined here:
__weakref__
list of weak references to the object (if defined)

Methods inherited from exceptions.Exception:
__init__(...)
x.__init__(...) initializes x; see help(type(x)) for signature

Data and other attributes inherited from exceptions.Exception:
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from exceptions.BaseException:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__getitem__(...)
x.__getitem__(y) <==> x[y]
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]
 
Use of negative indices is not supported.
__reduce__(...)
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__setstate__(...)
__str__(...)
x.__str__() <==> str(x)
__unicode__(...)

Data descriptors inherited from exceptions.BaseException:
__dict__
args
message