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

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

Issue 46243003: Docserver: Add an APIModels class which tracks both the list of available APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: yoz Created 7 years, 2 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/api_models_test.py ('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/server_instance.py
diff --git a/chrome/common/extensions/docs/server2/server_instance.py b/chrome/common/extensions/docs/server2/server_instance.py
index 6459bc9dab8acbb93fcbf75f4aa23e59a29a7b49..483f0d4dfc27ee80cd8b38d9b6cd8f4559a3325f 100644
--- a/chrome/common/extensions/docs/server2/server_instance.py
+++ b/chrome/common/extensions/docs/server2/server_instance.py
@@ -4,6 +4,7 @@
from api_data_source import APIDataSource
from api_list_data_source import APIListDataSource
+from api_models import APIModels
from appengine_wrappers import IsDevServer
from availability_finder import AvailabilityFinder
from compiled_file_system import CompiledFileSystem
@@ -73,6 +74,11 @@ class ServerInstance(object):
self.compiled_fs_factory,
self.object_store_creator)
+ self.api_models = APIModels(
+ self.features_bundle,
+ self.compiled_fs_factory,
+ host_fs_at_trunk)
+
self.availability_finder = AvailabilityFinder(
branch_utility,
compiled_fs_factory,
« no previous file with comments | « chrome/common/extensions/docs/server2/api_models_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698