Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2834)

Unified Diff: appengine/findit/model/crash/chrome_crash_analysis.py

Issue 2322133002: [Findit] Add cracas_crash_analysis (Closed)
Patch Set: Rebase. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/findit/crash/findit_for_client.py ('k') | appengine/findit/model/crash/cracas_crash_analysis.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/model/crash/chrome_crash_analysis.py
diff --git a/appengine/findit/model/crash/chrome_crash_analysis.py b/appengine/findit/model/crash/chrome_crash_analysis.py
new file mode 100644
index 0000000000000000000000000000000000000000..8e6bd44e4190ba40845d0193356f951a8da54406
--- /dev/null
+++ b/appengine/findit/model/crash/chrome_crash_analysis.py
@@ -0,0 +1,19 @@
+# Copyright 2016 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.
+
+from google.appengine.ext import ndb
+
+from model.crash.crash_analysis import CrashAnalysis
+
+
+class ChromeCrashAnalysis(CrashAnalysis):
+ """Represents an analysis of a Chrome Crash (Cracas or Fracas)."""
+ # Customized properties for Fracas crash.
+ historical_metadata = ndb.JsonProperty(indexed=False)
+ channel = ndb.StringProperty(indexed=False)
+
+ def Reset(self):
+ super(ChromeCrashAnalysis, self).Reset()
+ self.historical_metadata = None
+ self.channel = None
« no previous file with comments | « appengine/findit/crash/findit_for_client.py ('k') | appengine/findit/model/crash/cracas_crash_analysis.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698