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

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

Issue 48263002: list apis by channel info, e.g. dev, stable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: done 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/server_instance.py
diff --git a/chrome/common/extensions/docs/server2/server_instance.py b/chrome/common/extensions/docs/server2/server_instance.py
index 3d18cc433a4dee8225dbc219e2a1a380e4c5a44a..3e02cca72359418554cd293a50fb82116e33291b 100644
--- a/chrome/common/extensions/docs/server2/server_instance.py
+++ b/chrome/common/extensions/docs/server2/server_instance.py
@@ -85,18 +85,20 @@ class ServerInstance(object):
host_fs_at_trunk,
object_store_creator)
- self.api_list_data_source_factory = APIListDataSource.Factory(
- self.compiled_fs_factory,
- host_fs_at_trunk,
- self.features_bundle,
- self.object_store_creator)
-
self.api_data_source_factory = APIDataSource.Factory(
self.compiled_fs_factory,
host_fs_at_trunk,
self.availability_finder,
branch_utility)
+ self.api_list_data_source_factory = APIListDataSource.Factory(
+ self.compiled_fs_factory,
+ host_fs_at_trunk,
+ self.features_bundle,
+ self.object_store_creator,
+ self.api_models,
+ self.availability_finder)
+
self.ref_resolver_factory = ReferenceResolver.Factory(
self.api_data_source_factory,
self.api_models,
« no previous file with comments | « chrome/common/extensions/docs/server2/cron.yaml ('k') | chrome/common/extensions/docs/templates/articles/api_index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698