| Index: appengine/findit/model/crash/fracas_crash_analysis.py
|
| diff --git a/appengine/findit/model/crash/fracas_crash_analysis.py b/appengine/findit/model/crash/fracas_crash_analysis.py
|
| index d1214a3fb5e6c8e4a21d79576d2a66a80a41aa5a..2e0bf9554d72033b9eb0706a9eb5f90d40935347 100644
|
| --- a/appengine/findit/model/crash/fracas_crash_analysis.py
|
| +++ b/appengine/findit/model/crash/fracas_crash_analysis.py
|
| @@ -2,35 +2,11 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -import hashlib
|
| -import json
|
| -
|
| from google.appengine.ext import ndb
|
|
|
| -from model.crash.crash_analysis import CrashAnalysis
|
| -
|
| -
|
| -class FracasCrashAnalysis(CrashAnalysis):
|
| - """Represents an analysis of a Chrome crash."""
|
| - # Customized properties for Fracas crash.
|
| - historical_metadata = ndb.JsonProperty(indexed=False)
|
| - channel = ndb.StringProperty(indexed=False)
|
| -
|
| - def Reset(self):
|
| - super(FracasCrashAnalysis, self).Reset()
|
| - self.historical_metadata = None
|
| - self.channel = None
|
| -
|
| - @staticmethod
|
| - def _CreateKey(crash_identifiers):
|
| - return ndb.Key('FracasCrashAnalysis', hashlib.sha1(
|
| - json.dumps(crash_identifiers, sort_keys=True)).hexdigest())
|
| +from model.crash.chrome_crash_analysis import ChromeCrashAnalysis
|
|
|
| - @classmethod
|
| - def Get(cls, crash_identifiers):
|
| - return cls._CreateKey(crash_identifiers).get()
|
|
|
| - @classmethod
|
| - def Create(cls, crash_identifiers):
|
| - analysis = cls(key=cls._CreateKey(crash_identifiers))
|
| - return analysis
|
| +class FracasCrashAnalysis(ChromeCrashAnalysis):
|
| + """Represents an analysis of a Chrome crash on Fracas."""
|
| + pass
|
|
|