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

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

Issue 1245083005: Docserver: Use real BranchUtility for local server instances (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | 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 0c1d42e56f3a570d3f240d5654616e1421195a57..b5b0624a4a052783fdd102705e1ab7122eaa6bf0 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 branch_utility import BranchUtility
from compiled_file_system import CompiledFileSystem
from content_providers import ContentProviders
from document_renderer import DocumentRenderer
@@ -120,6 +121,6 @@ class ServerInstance(object):
return ServerInstance(
object_store_creator,
CompiledFileSystem.Factory(object_store_creator),
- TestBranchUtility.CreateWithCannedData(),
+ BranchUtility.Create(object_store_creator),
host_file_system_provider,
CloudStorageFileSystemProvider(object_store_creator))
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698