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

Unified Diff: chrome/common/extensions/docs/server2/test_data/canned_data.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/test_data/canned_data.py
diff --git a/chrome/common/extensions/docs/server2/test_data/canned_data.py b/chrome/common/extensions/docs/server2/test_data/canned_data.py
index adb61c20cfa5f1774d5a129c72335f90761feaf6..46fa715dbf88afdf8c3cfc82ed6a71013fa01a0b 100644
--- a/chrome/common/extensions/docs/server2/test_data/canned_data.py
+++ b/chrome/common/extensions/docs/server2/test_data/canned_data.py
@@ -3,7 +3,10 @@
# found in the LICENSE file.
import json
+
+from extensions_paths import EXTENSIONS
from third_party.json_schema_compiler.json_parse import OrderedDict
+from test_file_system import MoveAllTo, MoveTo
CANNED_CHANNELS = OrderedDict([
@@ -43,7 +46,7 @@ CANNED_BRANCHES = OrderedDict([
])
-CANNED_TEST_FILE_SYSTEM_DATA = {
+CANNED_TEST_FILE_SYSTEM_DATA = MoveTo(EXTENSIONS, {
'api': {
'_api_features.json': json.dumps({
'ref_test': { 'dependencies': ['permission:ref_test'] },
@@ -104,10 +107,10 @@ CANNED_TEST_FILE_SYSTEM_DATA = {
}
}
}
-}
+})
-CANNED_API_FILE_SYSTEM_DATA = {
+CANNED_API_FILE_SYSTEM_DATA = MoveAllTo(EXTENSIONS, {
'trunk': {
'api': {
'_api_features.json': json.dumps({
@@ -791,4 +794,4 @@ CANNED_API_FILE_SYSTEM_DATA = {
])
}
}
-}
+})

Powered by Google App Engine
This is Rietveld 408576698