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

Unified Diff: chrome/browser/chromeos/input_method/input_method_persistence_unittest.cc

Issue 15695010: Add ProfileManager::AllowGetDefaultProfile() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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/browser/chromeos/input_method/input_method_persistence_unittest.cc
diff --git a/chrome/browser/chromeos/input_method/input_method_persistence_unittest.cc b/chrome/browser/chromeos/input_method/input_method_persistence_unittest.cc
index 0955462f2620c2ed24c13d2c596d0d058e60cbf7..4196c63da0b88cb4dc0cc05130b9464be079c8ca 100644
--- a/chrome/browser/chromeos/input_method/input_method_persistence_unittest.cc
+++ b/chrome/browser/chromeos/input_method/input_method_persistence_unittest.cc
@@ -42,6 +42,7 @@ class InputMethodPersistenceTest : public testing::Test {
CommandLine *cl = CommandLine::ForCurrentProcess();
cl->AppendSwitchASCII(switches::kLoginProfile, kProfileName);
mock_profile_manager_.SetLoggedIn(true);
+ ProfileManager::AllowGetDefaultProfile();
EXPECT_TRUE(ProfileManager::GetDefaultProfile() != NULL);
mock_user_prefs_ = mock_profile->GetTestingPrefService();
}

Powered by Google App Engine
This is Rietveld 408576698