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

Unified Diff: chrome/common/extensions/docs/server2/api_models.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 | « apps/common/api/dummy.idl ('k') | chrome/common/extensions/docs/server2/api_models_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/server2/api_models.py
diff --git a/chrome/common/extensions/docs/server2/api_models.py b/chrome/common/extensions/docs/server2/api_models.py
index 29853e6b4c67068019d2396bcb712c0a8e33b641..d7cacc40f2832ff7ccebb03cb6ec0b4237eabf47 100644
--- a/chrome/common/extensions/docs/server2/api_models.py
+++ b/chrome/common/extensions/docs/server2/api_models.py
@@ -5,7 +5,7 @@
import posixpath
from compiled_file_system import SingleFile, Unicode
-from extensions_paths import API, CHROME_API
+from extensions_paths import API_PATHS
from file_system import FileNotFoundError
from future import Future
from schema_util import ProcessSchema
@@ -44,7 +44,7 @@ class APIModels(object):
# By default |api_name| is assumed to be given without a path or extension,
# so combinations of known paths and extension types will be searched.
api_extensions = ('.json', '.idl')
- api_paths = (CHROME_API, API)
+ api_paths = API_PATHS
# Callers sometimes include a file extension and/or prefix path with the
# |api_name| argument. We believe them and narrow the search space
« no previous file with comments | « apps/common/api/dummy.idl ('k') | chrome/common/extensions/docs/server2/api_models_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698