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

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: Removed macro and InMemory. 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 6b1538a1eaaca0cc4b15b475b5c5a667bd0544d2..e37791d864e5b5f26c9df67c6d419a2096c24aa8 100644
--- a/content/browser/download/download_manager_impl_unittest.cc
+++ b/content/browser/download/download_manager_impl_unittest.cc
@@ -381,14 +381,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, 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, 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