telemetry.internal.backends.chrome.extension_backend | index telemetry/internal/backends/chrome/extension_backend.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.internal.browser.extension_page | telemetry.internal.backends.chrome_inspector.inspector_backend_list |

Classes
`` |  | _abcoll.Mapping(_abcoll.Sized, _abcoll.Iterable, _abcoll.Container) ExtensionBackendDict telemetry.internal.backends.chrome_inspector.inspector_backend_list.InspectorBackendList(_abcoll.Sequence) ExtensionBackendList
class ExtensionBackendDict(_abcoll.Mapping)
`` | `A dynamic mapping of extension_id to extension_page.ExtensionPages.`
| Method resolution order: ExtensionBackendDict _abcoll.Mapping _abcoll.Sized _abcoll.Iterable _abcoll.Container __builtin__.object Methods defined here: ContextIdToExtensionId(self, context_id) __getitem__(self, extension_id) __init__(self, browser_backend) __iter__(self) __len__(self) Data and other attributes defined here: __abstractmethods__ = frozenset([]) Methods inherited from _abcoll.Mapping: __contains__(self, key) __eq__(self, other) __ne__(self, other) get(self, key, default=None) `D.get(k[,d]) -> D[k] if k in D, else d. d defaults to None.` items(self) `D.items() -> list of D's (key, value) pairs, as 2-tuples` iteritems(self) `D.iteritems() -> an iterator over the (key, value) items of D` iterkeys(self) `D.iterkeys() -> an iterator over the keys of D` itervalues(self) `D.itervalues() -> an iterator over the values of D` keys(self) `D.keys() -> list of D's keys` values(self) `D.values() -> list of D's values` Data and other attributes inherited from _abcoll.Mapping: __hash__ = None 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()).`
class ExtensionBackendList(telemetry.internal.backends.chrome_inspector.inspector_backend_list.InspectorBackendList)
`` | `A dynamic sequence of extension_page.ExtensionPages.`
| Method resolution order: ExtensionBackendList telemetry.internal.backends.chrome_inspector.inspector_backend_list.InspectorBackendList _abcoll.Sequence _abcoll.Sized _abcoll.Iterable _abcoll.Container __builtin__.object Methods defined here: CreateWrapper(self, inspector_backend) ShouldIncludeContext(self, context) __init__(self, browser_backend) Data and other attributes defined here: __abstractmethods__ = frozenset([]) Methods inherited from telemetry.internal.backends.chrome_inspector.inspector_backend_list.InspectorBackendList: GetBackendFromContextId(self, context_id) GetContextInfo(self, context_id) GetTabById(self, identifier) IterContextIds(self) __getitem__(self, index) `# TODO(nednguyen): Remove this method and turn inspector_backend_list API to # dictionary-like API (crbug.com/398467)` __iter__(self) __len__(self) Data descriptors inherited from telemetry.internal.backends.chrome_inspector.inspector_backend_list.InspectorBackendList: app 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()).`