Chromium Code Reviews| Index: chrome/common/extensions/docs/server2/data_source.py |
| diff --git a/chrome/common/extensions/docs/server2/data_source.py b/chrome/common/extensions/docs/server2/data_source.py |
| index ba0dfb48a290ff3fefb0a410e6e5edb2ac052265..7328f80b8e8ebbc68924958f9d99c9ce19dc8273 100644 |
| --- a/chrome/common/extensions/docs/server2/data_source.py |
| +++ b/chrome/common/extensions/docs/server2/data_source.py |
| @@ -19,16 +19,8 @@ class DataSource(object): |
| def __init__(self, server_instance, request): |
| pass |
| - def GetRefreshPaths(self): |
| - '''Returns a list of paths to query |
| - (relative to _refresh/<data_source_name>/) with the task queue in order |
| - to refresh this DataSource's data set. Any paths listed here will be |
| - routed to the DataSource Refresh method in a taskqueue task request. |
| - ''' |
| - return [''] |
| - |
| - def Refresh(self, path=None): |
| - '''Handles _refresh requests to this DataSource. Should return a Future |
| + def Refresh(self): |
| + '''Refreshes the cache of data this source provides. Should return a Future |
| indicating the success or failure of the refresh.''' |
|
not at google - send to devlin
2015/06/04 22:40:45
should probably be "which resolves to" not "indica
Ken Rockot(use gerrit already)
2015/06/05 00:21:50
Done.
|
| raise NotImplementedError(self.__class__) |