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

Side by Side Diff: chrome/common/extensions/docs/server2/test_data/canned_data.py

Issue 176973009: Doc server: support interfaces in src/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import json 5 import json
6 6
7 from extensions_paths import EXTENSIONS 7 from extensions_paths import CHROME_EXTENSIONS
8 from third_party.json_schema_compiler.json_parse import OrderedDict 8 from third_party.json_schema_compiler.json_parse import OrderedDict
9 from test_file_system import MoveAllTo, MoveTo 9 from test_file_system import MoveAllTo, MoveTo
10 10
11 11
12 CANNED_CHANNELS = OrderedDict([ 12 CANNED_CHANNELS = OrderedDict([
13 ('trunk', 'trunk'), 13 ('trunk', 'trunk'),
14 ('dev', 28), 14 ('dev', 28),
15 ('beta', 27), 15 ('beta', 27),
16 ('stable', 26) 16 ('stable', 26)
17 ]) 17 ])
(...skipping 21 matching lines...) Expand all
39 (11, '696'), 39 (11, '696'),
40 (10, '648'), 40 (10, '648'),
41 ( 9, '597'), 41 ( 9, '597'),
42 ( 8, '552'), 42 ( 8, '552'),
43 ( 7, '544'), 43 ( 7, '544'),
44 ( 6, '495'), 44 ( 6, '495'),
45 ( 5, '396'), 45 ( 5, '396'),
46 ]) 46 ])
47 47
48 48
49 CANNED_TEST_FILE_SYSTEM_DATA = MoveTo(EXTENSIONS, { 49 CANNED_TEST_FILE_SYSTEM_DATA = MoveTo(CHROME_EXTENSIONS, {
50 'api': { 50 'api': {
51 '_api_features.json': json.dumps({ 51 '_api_features.json': json.dumps({
52 'ref_test': { 'dependencies': ['permission:ref_test'] }, 52 'ref_test': { 'dependencies': ['permission:ref_test'] },
53 'tester': { 'dependencies': ['permission:tester', 'manifest:tester'] } 53 'tester': { 'dependencies': ['permission:tester', 'manifest:tester'] }
54 }), 54 }),
55 '_manifest_features.json': '{}', 55 '_manifest_features.json': '{}',
56 '_permission_features.json': '{}' 56 '_permission_features.json': '{}'
57 }, 57 },
58 'docs': { 58 'docs': {
59 'templates': { 59 'templates': {
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 "version": 21 126 "version": 21
127 }, 127 },
128 "manifest-v1-deprecated": { 128 "manifest-v1-deprecated": {
129 "type": "manifestChanges", 129 "type": "manifestChanges",
130 "description": "Manifest version 1 was deprecated in Chrome 18", 130 "description": "Manifest version 1 was deprecated in Chrome 18",
131 "version": 20 131 "version": 20
132 } 132 }
133 } 133 }
134 134
135 135
136 CANNED_API_FILE_SYSTEM_DATA = MoveAllTo(EXTENSIONS, { 136 CANNED_API_FILE_SYSTEM_DATA = MoveAllTo(CHROME_EXTENSIONS, {
137 'trunk': { 137 'trunk': {
138 'api': { 138 'api': {
139 '_api_features.json': json.dumps({ 139 '_api_features.json': json.dumps({
140 'alarm': { 140 'alarm': {
141 'channel': 'stable' 141 'channel': 'stable'
142 }, 142 },
143 'app.window': { 143 'app.window': {
144 'channel': 'stable' 144 'channel': 'stable'
145 }, 145 },
146 'browserAction': { 146 'browserAction': {
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after
1020 { 1020 {
1021 'namespace': 'idle' 1021 'namespace': 'idle'
1022 }, 1022 },
1023 { 1023 {
1024 'namespace': 'experimental.menus' 1024 'namespace': 'experimental.menus'
1025 } 1025 }
1026 ]) 1026 ])
1027 } 1027 }
1028 } 1028 }
1029 }) 1029 })
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698