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

Unified Diff: chrome/browser/chromeos/power/power_prefs_unittest.cc

Issue 119593002: Getting rid of temporary IsGetDefaultProfileAllowed instrumentation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/power/power_prefs_unittest.cc
diff --git a/chrome/browser/chromeos/power/power_prefs_unittest.cc b/chrome/browser/chromeos/power/power_prefs_unittest.cc
index 794dd4561010f110e8d6cf9c74971e9ad1c45eed..5abc8106828b866b7c23a1c2661d1bb4f8a84a85 100644
--- a/chrome/browser/chromeos/power/power_prefs_unittest.cc
+++ b/chrome/browser/chromeos/power/power_prefs_unittest.cc
@@ -214,7 +214,6 @@ TEST_F(PowerPrefsTest, UserSession) {
CommandLine::ForCurrentProcess()->AppendSwitchASCII(switches::kLoginProfile,
"user");
profile_manager_.SetLoggedIn(true);
- ProfileManager::AllowGetDefaultProfile();
// Inform power_prefs_ that a session has started.
power_prefs_->Observe(chrome::NOTIFICATION_SESSION_STARTED,
« no previous file with comments | « chrome/browser/chromeos/input_method/input_method_persistence_unittest.cc ('k') | chrome/browser/profiles/profile_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698