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 | 5 |
6 # TODO(http://crbug.com/660462): this needs to actually do something. | 6 # TODO(http://crbug.com/660462): this needs to actually do something. |
7 # pylint: disable=E0711, W0613, R0201 | 7 # pylint: disable=E0711, W0613, R0201 |
8 class CodeReview(object): # pragma: no cover | 8 class CodeReview(object): # pragma: no cover |
9 """An interface to interact with code review.""" | 9 """An interface to interact with code review.""" |
10 | 10 |
11 def PostMessage(self, codereview_url, message): | 11 def PostMessage(self, codereview_url, message): |
12 """Posts the given message to the CL codereview of the specified url. | 12 """Posts the given message to the CL codereview of the specified url. |
13 | 13 |
14 Args: | 14 Args: |
15 codereview_url(str): The url to a CL codereview. | 15 codereview_url(str): The url to a CL codereview. |
16 message(str): The message to be posted to the codereview. | 16 message(str): The message to be posted to the codereview. |
17 """ | 17 """ |
18 raise NotImplemented() | 18 raise NotImplemented() |
OLD | NEW |