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

Side by Side Diff: appengine/predator/app/frontend/handlers/report_crash.py

Issue 2447253002: [Findit & Predator] Code reorg of Findit. (Closed)
Patch Set: Clean up. 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 unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2016 The Chromium Authors. All rights reserved.
Sharu Jiang 2016/11/04 18:39:46 I think we should also have frontend/template/
stgao 2016/11/08 18:53:32 Yes, we could add when an HTML template is added.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 from gae_libs.handlers import base_handler
6
7 from common.model import crash_analysis
8
9 class ReportCrash(base_handler.BaseHandler):
10
11 def HandleGet(self):
12 signature = self.request.get('signature', 'default')
13 crash = crash_analysis.CrashAnalysis.Create(signature=signature)
14 crash.put()
15 self.response.write('You are requesting an analysis for a Chrome crash')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698