OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2014 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 | 5 |
6 class ParserInterface(object): | 6 class ParserInterface(object): |
7 """The interface for parsers.""" | 7 """The interface for parsers.""" |
8 | 8 |
9 def ParseChangelog(self, component_path, range_start, range_end): | 9 def ParseChangelog(self, component_path, range_start, range_end): |
10 """Parses changelog from the URL stored in the parser object. | 10 """Parses changelog from the URL stored in the parser object. |
11 | 11 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 component: The component this line is from. | 49 component: The component this line is from. |
50 file_path: The path of the file. | 50 file_path: The path of the file. |
51 line: The line that caused the crash. | 51 line: The line that caused the crash. |
52 revision: The revision to parse blame information for. | 52 revision: The revision to parse blame information for. |
53 | 53 |
54 Returns: | 54 Returns: |
55 The content of the line, the last changed revision of the line, author | 55 The content of the line, the last changed revision of the line, author |
56 and the url of the revision. | 56 and the url of the revision. |
57 """ | 57 """ |
58 raise NotImplementedError() | 58 raise NotImplementedError() |
OLD | NEW |