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

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

Issue 575613003: Docserver: Gitiles auth and cron refactoring. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/content_provider.py
diff --git a/chrome/common/extensions/docs/server2/content_provider.py b/chrome/common/extensions/docs/server2/content_provider.py
index 26ed7540dbf10e9a7c57ae5bf6b5aa07b7cd36c1..96281cff27856d2d2dbd94ad0aa2d3db2c3c2ac2 100644
--- a/chrome/common/extensions/docs/server2/content_provider.py
+++ b/chrome/common/extensions/docs/server2/content_provider.py
@@ -195,8 +195,8 @@ class ContentProvider(object):
.Then(lambda found: found or find_index_file())
.Then(lambda found: found or path))
- def Cron(self):
- futures = [self._path_canonicalizer.Cron()]
+ def Refresh(self):
+ futures = [self._path_canonicalizer.Refresh()]
for root, _, files in self.file_system.Walk(''):
for f in files:
futures.append(self.GetContentAndType(Join(root, f)))

Powered by Google App Engine
This is Rietveld 408576698