Index: tracing/tracing/value/histogram.py |
diff --git a/tracing/tracing/value/histogram.py b/tracing/tracing/value/histogram.py |
index d5dd033c41e5aa830b5d5a7454ee8b72fadfd9e0..b716ad435b7ba275ce87ef008baf6f6cb7bbde48 100644 |
--- a/tracing/tracing/value/histogram.py |
+++ b/tracing/tracing/value/histogram.py |
@@ -330,50 +330,6 @@ class RunningStatistics(object): |
AsFloatOrNone(x) for x in dct[1:]] |
return result |
- |
-class Ownership(diagnostic.Diagnostic): |
- |
- def __init__(self, emails, component=None): |
- super(Ownership, self).__init__() |
- |
- emails = emails or [] |
- |
- self._emails = emails[:] |
- |
- if (component is None) or isinstance(component, basestring): |
- self._component = component |
- else: |
- raise TypeError('component must be None or string') |
- |
- def __eq__(self, other): |
- if self.component != other.component: |
- return False |
- if self.emails != other.emails: |
- return False |
- |
- return True |
- |
- def __ne__(self, other): |
- return not self == other |
- |
- @property |
- def emails(self): |
- return self._emails[:] |
- |
- @property |
- def component(self): |
- return self._component |
- |
- def _AsDictInto(self, dct): |
- dct['emails'] = self.emails |
- |
- if self.component is not None: |
- dct['component'] = self.component |
- |
- @staticmethod |
- def FromDict(dct): |
- return Ownership(dct.get('emails'), dct.get('component')) |
- |
class Breakdown(diagnostic.Diagnostic): |
def __init__(self): |