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

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

Issue 2523343002: [Predator] Refactor ToPublishResult and fix keyerror 'found' (Closed)
Patch Set: . Created 4 years, 1 month 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
Index: appengine/findit/model/crash/cracas_crash_analysis.py
diff --git a/appengine/findit/model/crash/cracas_crash_analysis.py b/appengine/findit/model/crash/cracas_crash_analysis.py
index d57a92524b00a7bb581973a3d6d9efb625f0c2f1..700066ba1ecc0f645014495a7de8a2dc03e71d1a 100644
--- a/appengine/findit/model/crash/cracas_crash_analysis.py
+++ b/appengine/findit/model/crash/cracas_crash_analysis.py
@@ -9,4 +9,8 @@ from model.crash.chrome_crash_analysis import ChromeCrashAnalysis
class CracasCrashAnalysis(ChromeCrashAnalysis):
"""Represents an analysis of a Chrome crash on Cracas."""
- pass
+
+ def ProcessResultForPublishing(self, result): # pragma: no cover.
+ """Cracas specific processing of result data for publishing."""
+ # TODO(katesonia) Add feedback page for Cracas after Cracas integration.
stgao 2016/11/23 23:51:14 Why it is to be added here? Shouldn't model just t
Sharu Jiang 2016/11/24 00:13:38 The previous ``ToPublishResult`` is in the publish
stgao 2016/11/29 18:44:35 This is good. I don't have concern on this.
Sharu Jiang 2016/11/29 20:49:43 Ok, sorry, I misunderstood your comment. The url t
stgao 2016/11/30 04:35:07 So where is the URL from/defined? How the code sho
Sharu Jiang 2016/11/30 18:14:07 If this is about where we should insert the feedba
stgao 2016/11/30 18:56:06 The wording is fine, but my concern is what is to
Sharu Jiang 2016/11/30 19:26:05 I think move all the ToPublishableResult to Findit
+ return result

Powered by Google App Engine
This is Rietveld 408576698