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

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

Issue 10878056: Extensions Docs Server: Fix samples page and ExampleZipper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test + fixes Created 8 years, 4 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 76c29f30bb783df16b3b07d696a6fae4bdffa090..750b2a79165a52e4fe79757bf2c4a0c9654911a7 100644
--- a/chrome/common/extensions/docs/server2/samples_data_source.py
+++ b/chrome/common/extensions/docs/server2/samples_data_source.py
@@ -22,7 +22,7 @@ class SamplesDataSource(object):
Requests.
"""
def __init__(self,
- branch,
+ channel,
file_system,
github_file_system,
cache_factory,
@@ -30,7 +30,7 @@ class SamplesDataSource(object):
samples_path):
self._file_system = file_system
self._github_file_system = github_file_system
- self._static_path = ((('/' + branch) if branch != 'local' else '') +
+ self._static_path = ((('/' + channel) if channel != 'local' else '') +
'/static')
self._extensions_cache = cache_factory.Create(self._MakeSamplesList,
compiled_fs.EXTENSIONS)

Powered by Google App Engine
This is Rietveld 408576698