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

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

Issue 10804036: Extensions Docs Server: Internationalized samples (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/template_data_source.py
diff --git a/chrome/common/extensions/docs/server2/template_data_source.py b/chrome/common/extensions/docs/server2/template_data_source.py
index 2c0774801c6546002f8c8001cbae74cbb3cd9ff7..71c4e7ebd72a30f1cc4c64d85860a86dc9d2b6b7 100644
--- a/chrome/common/extensions/docs/server2/template_data_source.py
+++ b/chrome/common/extensions/docs/server2/template_data_source.py
@@ -77,6 +77,7 @@ class TemplateDataSource(object):
self._api_data_source = api_data_source
self._intro_data_source = intro_data_source
self._samples_data_source = samples_data_source
+ self._samples_data_source.SetHeaders(request.headers)
not at google - send to devlin 2012/07/20 01:28:21 This isn't safe with multiple requests needing to
cduvall 2012/07/20 19:40:50 Done.
self._cache = cache
self._base_paths = base_paths
self._request = request

Powered by Google App Engine
This is Rietveld 408576698