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

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

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing comments - Patch currently being broken up Created 7 years, 6 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/patch_servlet_test.py
diff --git a/chrome/common/extensions/docs/server2/patch_servlet_test.py b/chrome/common/extensions/docs/server2/patch_servlet_test.py
index e62b95a64b68b1e0c3b10741653486ee94a5e2a5..8444dda265fe3e519f3abb4df887592eca259d5d 100755
--- a/chrome/common/extensions/docs/server2/patch_servlet_test.py
+++ b/chrome/common/extensions/docs/server2/patch_servlet_test.py
@@ -12,6 +12,7 @@ from patch_servlet import PatchServlet
from render_servlet import RenderServlet
from server_instance import ServerInstance
from servlet import Request
+from test_branch_utility import TestBranchUtility
from test_util import DisableLogging
_ALLOWED_HOST = 'https://chrome-apps-doc.appspot.com'
@@ -24,6 +25,9 @@ class _PatchServletDelegate(RenderServlet.Delegate):
def CreateAppSamplesFileSystem(self, object_store_creator):
return EmptyDirFileSystem()
+ def CreateBranchUtility(self, object_store_creator):
+ return TestBranchUtility()
+
def CreateHostFileSystemForBranch(self, channel):
return LocalFileSystem.Create()
« no previous file with comments | « chrome/common/extensions/docs/server2/patch_servlet.py ('k') | chrome/common/extensions/docs/server2/path_canonicalizer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698