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

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

Issue 18323018: Linking AvailabilityFinder with APIDataSource and intro-table templates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: HostFileSystemCreator, Intro Table data structure changes 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/cron_servlet_test.py
diff --git a/chrome/common/extensions/docs/server2/cron_servlet_test.py b/chrome/common/extensions/docs/server2/cron_servlet_test.py
index c0655a2f1c430ed6f5314555d829d77a0540e680..2397c6b72e52ac34a9ed668c981290eb884b6f04 100755
--- a/chrome/common/extensions/docs/server2/cron_servlet_test.py
+++ b/chrome/common/extensions/docs/server2/cron_servlet_test.py
@@ -29,11 +29,18 @@ class _TestDelegate(CronServlet.Delegate):
def CreateBranchUtility(self, object_store_creator):
return TestBranchUtility.CreateWithCannedData()
+ def CreateFileSystemForBranch(self, branch):
+ return self._create_file_system(branch)
+
def CreateHostFileSystemForBranchAndRevision(self, branch, revision):
file_system = self._create_file_system(revision)
self.file_systems.append(file_system)
return file_system
+ def CreateHostFileSystem(self, branch):
+ file_system = self._create_file_system(branch)
+ return file_system
+
def CreateAppSamplesFileSystem(self, object_store_creator):
return EmptyDirFileSystem()

Powered by Google App Engine
This is Rietveld 408576698