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

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

Issue 68873003: Docserver: Serve docs out of src/ not src/chrome/common/extensions. This allows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix samples Created 7 years, 1 month 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 1a26803732936ccf167bbe93ab8083d5af919472..39f85ef7392f88990c8d6ee8d62ef862597678a0 100644
--- a/chrome/common/extensions/docs/server2/template_data_source.py
+++ b/chrome/common/extensions/docs/server2/template_data_source.py
@@ -8,16 +8,16 @@ import traceback
from data_source import DataSource
from docs_server_utils import FormatKey
+from extensions_paths import PRIVATE_TEMPLATES
from file_system import FileNotFoundError
from future import Future
-from svn_constants import PRIVATE_TEMPLATE_PATH
class TemplateDataSource(DataSource):
'''Provides a DataSource interface for compiled templates.
'''
- def __init__(self, server_instance, _, partial_dir=PRIVATE_TEMPLATE_PATH):
+ def __init__(self, server_instance, _, partial_dir=PRIVATE_TEMPLATES):
self._template_cache = server_instance.compiled_fs_factory.ForTemplates(
server_instance.host_file_system_provider.GetTrunk())
self._partial_dir = partial_dir

Powered by Google App Engine
This is Rietveld 408576698