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

Unified Diff: chrome_frame/test/net/fake_external_tab.cc

Issue 7467012: Modifying prefetch to account for multi-profile. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Modifying prefetch to account for multi-profile. Created 9 years, 3 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_frame/test/net/fake_external_tab.cc
===================================================================
--- chrome_frame/test/net/fake_external_tab.cc (revision 100345)
+++ chrome_frame/test/net/fake_external_tab.cc (working copy)
@@ -269,9 +269,6 @@
FilePath profile_path(ProfileManager::GetDefaultProfileDir(user_data()));
- Profile* profile =
- g_browser_process->profile_manager()->GetProfile(profile_path);
-
// Initialize the content client which that code uses to talk to Chrome.
content::SetContentClient(&g_chrome_content_client.Get());
@@ -281,7 +278,10 @@
content::GetContentClient()->set_renderer(&g_renderer_client.Get());
- // Create the child threads.
+ Profile* profile =
+ g_browser_process->profile_manager()->GetProfile(profile_path);
+
+ // Create the child threads.
g_browser_process->db_thread();
g_browser_process->file_thread();
g_browser_process->io_thread();

Powered by Google App Engine
This is Rietveld 408576698