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

Unified Diff: chrome/browser/media_galleries/media_file_system_registry_unittest.cc

Issue 16490003: Pass the SiteInstance into CreateRenderProcessHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove ContentBrowserClient, which is global, from argument list 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
« no previous file with comments | « no previous file | components/visitedlink/test/visitedlink_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media_galleries/media_file_system_registry_unittest.cc
diff --git a/chrome/browser/media_galleries/media_file_system_registry_unittest.cc b/chrome/browser/media_galleries/media_file_system_registry_unittest.cc
index 4118171250b65275eb37aa09bf095faa7c0c1907..7bbd815c6c41616f10d234780b21dc3a5b73b72e 100644
--- a/chrome/browser/media_galleries/media_file_system_registry_unittest.cc
+++ b/chrome/browser/media_galleries/media_file_system_registry_unittest.cc
@@ -220,7 +220,8 @@ class MockProfileSharedRenderProcessHostFactory
content::BrowserContext* browser_context);
virtual content::RenderProcessHost* CreateRenderProcessHost(
- content::BrowserContext* browser_context) const OVERRIDE;
+ content::BrowserContext* browser_context,
+ content::SiteInstance* site_instance) const OVERRIDE;
private:
typedef std::map<content::BrowserContext*, content::MockRenderProcessHost*>
@@ -423,7 +424,8 @@ MockProfileSharedRenderProcessHostFactory::ReleaseRPH(
content::RenderProcessHost*
MockProfileSharedRenderProcessHostFactory::CreateRenderProcessHost(
- content::BrowserContext* browser_context) const {
+ content::BrowserContext* browser_context,
+ content::SiteInstance* site_instance) const {
ProfileRPHMap::const_iterator existing = rph_map_.find(browser_context);
if (existing != rph_map_.end())
return existing->second;
« no previous file with comments | « no previous file | components/visitedlink/test/visitedlink_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698