| 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 import math | 5 import math |
| 6 | 6 |
| 7 from crash.stacktrace import CallStackBuffer | 7 from crash.stacktrace import CallStackBuffer |
| 8 from crash.stacktrace import Stacktrace | 8 from crash.stacktrace import Stacktrace |
| 9 | 9 |
| 10 | 10 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 | 43 |
| 44 Args: | 44 Args: |
| 45 stacktrace_string (str): Raw string to be parsed. | 45 stacktrace_string (str): Raw string to be parsed. |
| 46 deps (dict): Dict mapping repository path to ``Dependency`` instance, used | 46 deps (dict): Dict mapping repository path to ``Dependency`` instance, used |
| 47 to resolve dependency of frames. | 47 to resolve dependency of frames. |
| 48 signature (str): Signature is used to mark signature callstack, signature | 48 signature (str): Signature is used to mark signature callstack, signature |
| 49 callstack is the crash stack that causing the crash. | 49 callstack is the crash stack that causing the crash. |
| 50 top_n_frames (int): Number of top frames to be keep in a callstack. | 50 top_n_frames (int): Number of top frames to be keep in a callstack. |
| 51 """ | 51 """ |
| 52 raise NotImplementedError() | 52 raise NotImplementedError() |
| 53 | |
| 54 def _IsStartOfNewCallStack(self, line): | |
| 55 """Determines whether a line is the start of a new callstack or not.""" | |
| 56 raise NotImplementedError() | |
| OLD | NEW |