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

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

Issue 18323018: Linking AvailabilityFinder with APIDataSource and intro-table templates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More Generic Templates Created 7 years, 5 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
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 b9725abd1c9aaf066173e78d8827ef80e7c2a2d4..5d2b804ed517aa53755a4a24c185cac1acbddd93 100644
--- a/chrome/common/extensions/docs/server2/server_instance.py
+++ b/chrome/common/extensions/docs/server2/server_instance.py
@@ -70,7 +70,8 @@ class ServerInstance(object):
self.api_data_source_factory = APIDataSource.Factory(
self.compiled_host_fs_factory,
- svn_constants.API_PATH)
+ svn_constants.API_PATH,
+ self.availability_finder_factory)
self.ref_resolver_factory = ReferenceResolver.Factory(
self.api_data_source_factory,
@@ -160,8 +161,7 @@ class ServerInstance(object):
store_type=TestObjectStore)
host_file_system_creator = HostFileSystemCreator.ForLocal(
object_store_creator)
- trunk_file_system = host_file_system_creator.Create(
- 'trunk')
+ trunk_file_system = host_file_system_creator.Create('trunk')
return ServerInstance(
channel,
object_store_creator,

Powered by Google App Engine
This is Rietveld 408576698