Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | |
|
stgao
2016/09/21 23:03:24
Please keep this interface. We are migrating to Ge
| |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 | |
| 6 # pylint: disable=E0711, W0613, R0201 | |
| 7 class CodeReview(object): # pragma: no cover | |
| 8 """An interface to interact with code review.""" | |
| 9 | |
| 10 def PostMessage(self, codereview_url, message): | |
| 11 """ Posts the given message to the CL codereview of the specified url. | |
| 12 | |
| 13 args: | |
| 14 codereview_url(str): The url to a CL codereview. | |
| 15 message(str): The message to be posted to the codereview. | |
| 16 """ | |
| 17 raise NotImplemented() | |
| OLD | NEW |