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

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

Issue 61393002: Docserver: Enable GitHub content providers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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..11ec8f28ebfb682175717175d119b1adb60cada5 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
+ # Running Refresh() on the file system is enough to pull GitHub content,
+ # which is all we need for now.
+ self.file_system.Refresh().Get()

Powered by Google App Engine
This is Rietveld 408576698