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

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

Issue 63203002: Docserver: Make the hand-written Cron methods run first rather than last, since (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: logging Created 7 years, 1 month 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/content_provider.py
diff --git a/chrome/common/extensions/docs/server2/content_provider.py b/chrome/common/extensions/docs/server2/content_provider.py
index df84c8ef68ab4d4e82fc2d7ca0824766d696e84a..cbd1da7613d94fccbe4366b769d61d9f54eb07df 100644
--- a/chrome/common/extensions/docs/server2/content_provider.py
+++ b/chrome/common/extensions/docs/server2/content_provider.py
@@ -84,5 +84,6 @@ class ContentProvider(object):
return self._content_cache.GetFromFile(path, binary=True)
def Cron(self):
- # TODO(kalman): Implement.
- pass
+ # TODO(kalman): Implement by walking over the whole filesystem and
+ # compiling all of the content.
+ return Future(value=())

Powered by Google App Engine
This is Rietveld 408576698