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

Side by Side Diff: appengine/findit/crash/crash_data.py

Issue 2704843002: [Predator] Add TouchCrashedDirectory feature. (Closed)
Patch Set: . Created 3 years, 10 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 unified diff | Download patch
« no previous file with comments | « appengine/findit/crash/clusterfuzz_data.py ('k') | appengine/findit/crash/crash_match.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 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 import logging 5 import logging
6 from collections import namedtuple 6 from collections import namedtuple
7 7
8 from crash.chromecrash_parser import ChromeCrashParser 8 from crash.chromecrash_parser import ChromeCrashParser
9 from crash import detect_regression_range 9 from crash import detect_regression_range
10 from crash.stacktrace import Stacktrace 10 from crash.stacktrace import Stacktrace
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 'signature': '[ThreadWatcher UI hang] base::RunLoopBase::Run', 48 'signature': '[ThreadWatcher UI hang] base::RunLoopBase::Run',
49 'crash_identifiers': { # A list of key-value to identify a crash. 49 'crash_identifiers': { # A list of key-value to identify a crash.
50 ... 50 ...
51 } 51 }
52 } 52 }
53 """ 53 """
54 self._identifiers = crash_data['crash_identifiers'] 54 self._identifiers = crash_data['crash_identifiers']
55 self._crashed_version = crash_data['chrome_version'] 55 self._crashed_version = crash_data['chrome_version']
56 self._signature = crash_data['signature'] 56 self._signature = crash_data['signature']
57 self._platform = crash_data['platform'] 57 self._platform = crash_data['platform']
58 self._stacktrace_str = crash_data['stack_trace'] or ''
58 59
59 @property 60 @property
60 def identifiers(self): 61 def identifiers(self):
61 return self._identifiers 62 return self._identifiers
62 63
63 @property 64 @property
64 def crashed_version(self): 65 def crashed_version(self):
65 return self._crashed_version 66 return self._crashed_version
66 67
67 @property 68 @property
(...skipping 16 matching lines...) Expand all
84 def regression_range(self): 85 def regression_range(self):
85 raise NotImplementedError() 86 raise NotImplementedError()
86 87
87 @property 88 @property
88 def dependencies(self): 89 def dependencies(self):
89 raise NotImplementedError() 90 raise NotImplementedError()
90 91
91 @property 92 @property
92 def dependency_rolls(self): 93 def dependency_rolls(self):
93 raise NotImplementedError() 94 raise NotImplementedError()
OLDNEW
« no previous file with comments | « appengine/findit/crash/clusterfuzz_data.py ('k') | appengine/findit/crash/crash_match.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698