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

Unified Diff: chrome/common/extensions/docs/server2/platform_bundle.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/platform_bundle.py
diff --git a/chrome/common/extensions/docs/server2/platform_bundle.py b/chrome/common/extensions/docs/server2/platform_bundle.py
index 44eba6819ce4ab53cb747fef4aff3e891eb25100..d19b2f2913c510db9fab7f7e4d94714b8a2b33c1 100644
--- a/chrome/common/extensions/docs/server2/platform_bundle.py
+++ b/chrome/common/extensions/docs/server2/platform_bundle.py
@@ -126,9 +126,11 @@ class PlatformBundle(object):
platform)
return self._platform_data[platform].api_categorizer
- def Cron(self):
- return All(self.GetAPIModels(platform).Cron()
- for platform in self._platform_data)
+ def GetRefreshPaths(self):
+ return [platform for platform in self._platform_data.keys()]
+
+ def Refresh(self, platform):
+ return self.GetAPIModels(platform).Refresh()
def GetIdentity(self):
return self._host_fs_at_master.GetIdentity()
« no previous file with comments | « chrome/common/extensions/docs/server2/permissions_data_source.py ('k') | chrome/common/extensions/docs/server2/queue.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698