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

Unified Diff: chrome/common/extensions/docs/server2/manifest_data_source.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/manifest_data_source.py
diff --git a/chrome/common/extensions/docs/server2/manifest_data_source.py b/chrome/common/extensions/docs/server2/manifest_data_source.py
index 3b94f52e3a409a62b1fdc68aacc7bb4a600fef94..635cf802e514c35cc23a1989bfdf0f75a8f9a25c 100644
--- a/chrome/common/extensions/docs/server2/manifest_data_source.py
+++ b/chrome/common/extensions/docs/server2/manifest_data_source.py
@@ -135,8 +135,8 @@ class ManifestDataSource(DataSource):
self._object_store.Set('manifest_data', data)
return data
- def Cron(self):
- return self._CreateManifestData()
-
def get(self, key):
return self._GetCachedManifestData().get(key)
+
+ def Refresh(self, path):
+ return self._CreateManifestData()
« no previous file with comments | « chrome/common/extensions/docs/server2/jsc_view.py ('k') | chrome/common/extensions/docs/server2/owners_data_source.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698