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

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

Issue 1151283007: Docserver overhaul: Gitiles away from me. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove inform_users template to fix presubmit failure (it's now a redirect) Created 5 years, 6 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/samples_data_source.py
diff --git a/chrome/common/extensions/docs/server2/samples_data_source.py b/chrome/common/extensions/docs/server2/samples_data_source.py
index e171d79a9694ca6de7a8e088c1f89f4f0c89502f..a25986124fafe4dd05cdf373e3e21b55e9b3663f 100644
--- a/chrome/common/extensions/docs/server2/samples_data_source.py
+++ b/chrome/common/extensions/docs/server2/samples_data_source.py
@@ -28,8 +28,5 @@ class SamplesDataSource(DataSource):
def get(self, platform):
return self._GetImpl(platform).Get()
- def GetRefreshPaths(self):
- return [platform for platform in GetPlatforms()]
-
- def Refresh(self, path):
- return self._GetImpl(path)
+ def Refresh(self):
+ return All(self._GetImpl(platform) for platform in GetPlatforms())

Powered by Google App Engine
This is Rietveld 408576698