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

Side by Side Diff: appengine/findit/model/crash/cracas_crash_analysis.py

Issue 2523343002: [Predator] Refactor ToPublishResult and fix keyerror 'found' (Closed)
Patch Set: . Created 4 years 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 unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from google.appengine.ext import ndb 5 from google.appengine.ext import ndb
6 6
7 from model.crash.chrome_crash_analysis import ChromeCrashAnalysis 7 from model.crash.chrome_crash_analysis import ChromeCrashAnalysis
8 8
9 9
10 class CracasCrashAnalysis(ChromeCrashAnalysis): 10 class CracasCrashAnalysis(ChromeCrashAnalysis):
11 """Represents an analysis of a Chrome crash on Cracas.""" 11 """Represents an analysis of a Chrome crash on Cracas."""
12 pass 12
13 def ProcessResultForPublishing(self, result): # pragma: no cover.
14 """Cracas specific processing of result data for publishing."""
15 # 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
16 return result
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698