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

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: Fix browsertest 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
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/chromeos/login/login_utils_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/chromeos/login/login_utils_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698