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

Unified Diff: content/browser/download/download_manager_impl_unittest.cc

Issue 11147026: Initial refactor to get profiles to propagate storage partition details. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changing bool param to pass by reference. Created 8 years, 2 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: content/browser/download/download_manager_impl_unittest.cc
diff --git a/content/browser/download/download_manager_impl_unittest.cc b/content/browser/download/download_manager_impl_unittest.cc
index ff28c63ae89dda986778a7956575dc5f6f87186c..2821f5f95174af5026a27fbb88457d8e61e292eb 100644
--- a/content/browser/download/download_manager_impl_unittest.cc
+++ b/content/browser/download/download_manager_impl_unittest.cc
@@ -382,14 +382,16 @@ class MockBrowserContext : public content::BrowserContext {
MOCK_METHOD0(GetRequestContext, net::URLRequestContextGetter*());
MOCK_METHOD1(GetRequestContextForRenderProcess,
net::URLRequestContextGetter*(int renderer_child_id));
- MOCK_METHOD1(GetRequestContextForStoragePartition,
- net::URLRequestContextGetter*(const std::string& id));
+ MOCK_METHOD2(GetRequestContextForStoragePartition,
+ net::URLRequestContextGetter*(
+ const FilePath& partition_path, const bool& in_memory));
MOCK_METHOD0(GetMediaRequestContext,
net::URLRequestContextGetter*());
MOCK_METHOD1(GetMediaRequestContextForRenderProcess,
net::URLRequestContextGetter*(int renderer_child_id));
- MOCK_METHOD1(GetMediaRequestContextForStoragePartition,
- net::URLRequestContextGetter*(const std::string& id));
+ MOCK_METHOD2(GetMediaRequestContextForStoragePartition,
+ net::URLRequestContextGetter*(
+ const FilePath& partition_path, const bool& in_memory));
MOCK_METHOD0(GetResourceContext, content::ResourceContext*());
MOCK_METHOD0(GetDownloadManagerDelegate, content::DownloadManagerDelegate*());
MOCK_METHOD0(GetGeolocationPermissionContext,

Powered by Google App Engine
This is Rietveld 408576698