| 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.'''
|
| raise NotImplementedError(self.__class__)
|
|
|
|
|