telemetry.internal.backends.chrome_inspector.inspector_backend_list
index
telemetry/internal/backends/chrome_inspector/inspector_backend_list.py

# Copyright 2014 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
       
collections
telemetry.core.exceptions

 
Classes
       
_abcoll.Sequence(_abcoll.Sized, _abcoll.Iterable, _abcoll.Container)
InspectorBackendList

 
class InspectorBackendList(_abcoll.Sequence)
    A dynamic sequence of active InspectorBackends.
 
 
Method resolution order:
InspectorBackendList
_abcoll.Sequence
_abcoll.Sized
_abcoll.Iterable
_abcoll.Container
__builtin__.object

Methods defined here:
CreateWrapper(self, inspector_backend_instance)
Override to return the wrapper API over InspectorBackend.
 
The wrapper API is the public interface for InspectorBackend. It
may expose whatever methods are desired on top of that backend.
GetBackendFromContextId(self, context_id)
GetContextInfo(self, context_id)
GetTabById(self, identifier)
IterContextIds(self)
ShouldIncludeContext(self, _)
Override this method to control which contexts are included.
__getitem__(self, index)
# TODO(nednguyen): Remove this method and turn inspector_backend_list API to
# dictionary-like API (crbug.com/398467)
__init__(self, browser_backend)
Constructor.
 
Args:
  browser_backend: The BrowserBackend instance to query for
      InspectorBackends.
__iter__(self)
__len__(self)

Data descriptors defined here:
app

Data and other attributes defined here:
__abstractmethods__ = frozenset([])

Methods inherited from _abcoll.Sequence:
__contains__(self, value)
__reversed__(self)
count(self, value)
S.count(value) -> integer -- return number of occurrences of value
index(self, value)
S.index(value) -> integer -- return first index of value.
Raises ValueError if the value is not present.

Class methods inherited from _abcoll.Sized:
__subclasshook__(cls, C) from abc.ABCMeta

Data descriptors inherited from _abcoll.Sized:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from _abcoll.Sized:
__metaclass__ = <class 'abc.ABCMeta'>
Metaclass for defining Abstract Base Classes (ABCs).
 
Use this metaclass to create an ABC.  An ABC can be subclassed
directly, and then acts as a mix-in class.  You can also register
unrelated concrete classes (even built-in classes) and unrelated
ABCs as 'virtual subclasses' -- these and their descendants will
be considered subclasses of the registering ABC by the built-in
issubclass() function, but the registering ABC won't show up in
their MRO (Method Resolution Order) nor will method
implementations defined by the registering ABC be callable (not
even via super()).

 
Functions
       
DebuggerUrlToId(debugger_url)