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

Unified Diff: appengine/findit/crash/findit_for_clusterfuzz.py

Issue 2414523002: [Findit] Reorganizing findit_for_*.py (Closed)
Patch Set: more debugging Created 4 years, 2 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
Index: appengine/findit/crash/findit_for_clusterfuzz.py
diff --git a/appengine/findit/crash/findit_for_clusterfuzz.py b/appengine/findit/crash/findit_for_clusterfuzz.py
new file mode 100644
index 0000000000000000000000000000000000000000..85d1aab95803ee03a42d28577865ae5341fbbd07
--- /dev/null
+++ b/appengine/findit/crash/findit_for_clusterfuzz.py
@@ -0,0 +1,41 @@
+# 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.
+
+import logging
+
+from google.appengine.ext import ndb
+
+from crash.findit import Findit
+from crash.type_enums import CrashClient
+
+# TODO(katesonia): Implement this class.
+class FinditForClusterfuzz(Findit):
+ @classmethod
+ def ClientID(cls):
+ return CrashClient.CLUSTERFUZZ
+
+ def __init__(self):
+ logging.info('Client %s is not supported by findit right now',
+ self.client_id)
+ raise NotImplementedError()
+
+ def CreateAnalysis(self, crash_identifiers):
+ raise NotImplementedError()
+
+ def GetAnalysis(self, crash_identifiers):
+ raise NotImplementedError()
+
+ def _InitializeAnalysis(self, model, crash_data):
+ super(FinditForClusterfuzz, self)._InitializeAnalysis(model, crash_data)
+ raise NotImplementedError()
+
+ @ndb.transactional
+ def _NeedsNewAnalysis(self, crash_data):
+ raise NotImplementedError()
+
+ def CheckPolicy(self, crash_data):
+ return report
+
+ def FindCulprit(self, model):
+ raise NotImplementedError()

Powered by Google App Engine
This is Rietveld 408576698