Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8183)

Unified Diff: chrome/common/extensions/docs/server2/data_source.py

Issue 1151283007: Docserver overhaul: Gitiles away from me. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: self-nits Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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__)

Powered by Google App Engine
This is Rietveld 408576698