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

Unified Diff: chrome/browser/extensions/extension_event_router_forwarder_unittest.cc

Issue 7621066: Fix sync test crashing when multiprofiles are enabled on Mac. Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_event_router_forwarder_unittest.cc
===================================================================
--- chrome/browser/extensions/extension_event_router_forwarder_unittest.cc (revision 97284)
+++ chrome/browser/extensions/extension_event_router_forwarder_unittest.cc (working copy)
@@ -56,8 +56,10 @@
profile1_ = new TestingProfile();
profile2_ = new TestingProfile();
- browser_process->profile_manager()->RegisterProfile(profile1_, true);
- browser_process->profile_manager()->RegisterProfile(profile2_, true);
+ browser_process->profile_manager()->RegisterTestingProfile(profile1_,
+ false);
+ browser_process->profile_manager()->RegisterTestingProfile(profile2_,
+ false);
}
TestingProfile* CreateIncognitoProfile(TestingProfile* base) {
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698