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

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

Issue 214843006: Docserver: Support //apps APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: no copy, API->EXTENSIONS_API 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/docs/server2/cron.yaml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/server2/extensions_paths.py
diff --git a/chrome/common/extensions/docs/server2/extensions_paths.py b/chrome/common/extensions/docs/server2/extensions_paths.py
index 682f1c07d408954e69f27a29d0f11580107b8684..3bb6342bbf9ed5265417325dccee2ee7f36f6353 100644
--- a/chrome/common/extensions/docs/server2/extensions_paths.py
+++ b/chrome/common/extensions/docs/server2/extensions_paths.py
@@ -7,12 +7,21 @@ from posixpath import join
# Extensions-related paths within the Chromium repository.
+APPS = 'apps/common/'
EXTENSIONS = 'extensions/common/'
CHROME_EXTENSIONS = 'chrome/common/extensions/'
-API = join(EXTENSIONS, 'api/')
+APPS_API = join(APPS, 'api/')
+EXTENSIONS_API = join(EXTENSIONS, 'api/')
CHROME_API = join(CHROME_EXTENSIONS, 'api/')
+# Note: This determines search order when APIs are resolved in the filesystem.
+API_PATHS = (
+ CHROME_API,
+ EXTENSIONS_API,
+ APPS_API,
+)
+
DOCS = join(CHROME_EXTENSIONS, 'docs/')
API_FEATURES = join(CHROME_API, '_api_features.json')
« no previous file with comments | « chrome/common/extensions/docs/server2/cron.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698