Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 common import appengine_util | |
| 7 from model.crash.chrome_crash_analysis import ChromeCrashAnalysis | 8 from model.crash.chrome_crash_analysis import ChromeCrashAnalysis |
| 8 | 9 |
| 10 FRACAS_FEEDBACK_URL_TEMPLATE = '%s/crash/fracas-result-feedback?key=%s' | |
|
stgao
2016/11/23 23:51:14
See question above.
Sharu Jiang
2016/11/24 00:13:38
As above.
| |
| 11 | |
| 9 | 12 |
| 10 class FracasCrashAnalysis(ChromeCrashAnalysis): | 13 class FracasCrashAnalysis(ChromeCrashAnalysis): |
| 11 """Represents an analysis of a Chrome crash on Fracas.""" | 14 """Represents an analysis of a Chrome crash on Fracas.""" |
| 12 pass | 15 |
| 16 def ProcessResultForPublishing(self, result): | |
| 17 """Fracas specific processing of result data for publishing.""" | |
| 18 result['feedback_url'] = FRACAS_FEEDBACK_URL_TEMPLATE % ( | |
| 19 appengine_util.GetDefaultVersionHostname(), self.key.urlsafe()) | |
| 20 return result | |
| OLD | NEW |