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..a5036559dd0f6c141d9b7c5b22a75d1f6d147028 100644 |
--- a/chrome/common/extensions/docs/server2/data_source.py |
+++ b/chrome/common/extensions/docs/server2/data_source.py |
@@ -19,17 +19,11 @@ 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. |
+ def Refresh(self): |
+ '''Refreshes the cache of data this source provides. Should return a Future |
+ which resolves to a boolean indicating the success or failure of the |
+ refresh. |
''' |
- return [''] |
- |
- def Refresh(self, path=None): |
- '''Handles _refresh requests to this DataSource. Should return a Future |
- indicating the success or failure of the refresh.''' |
raise NotImplementedError(self.__class__) |
def get(self, key): |