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

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

Issue 10891016: Remove all callers of Profile::GetResourceContext(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 56bd819408e8a3f904cc450caaf4356aecedcd02..76a9946e265219fa342f338cd2087cd1f0ed6c00 100644
--- a/content/browser/download/download_manager_impl_unittest.cc
+++ b/content/browser/download/download_manager_impl_unittest.cc
@@ -51,6 +51,7 @@ using content::WebContents;
namespace content {
class ByteStreamReader;
+class SiteInstance;
}
namespace {
@@ -378,7 +379,7 @@ class MockBrowserContext : public content::BrowserContext {
net::URLRequestContextGetter*());
MOCK_METHOD1(GetMediaRequestContextForRenderProcess,
net::URLRequestContextGetter*(int renderer_child_id));
- MOCK_METHOD0(GetResourceContext, content::ResourceContext*());
+ MOCK_METHOD1(GetResourceContext, content::ResourceContext*(content::SiteInstance*));
MOCK_METHOD0(GetDownloadManagerDelegate, content::DownloadManagerDelegate*());
MOCK_METHOD0(GetGeolocationPermissionContext,
content::GeolocationPermissionContext* ());
« no previous file with comments | « content/browser/appcache/chrome_appcache_service_unittest.cc ('k') | content/browser/download/save_package.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698