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

Unified Diff: chrome/browser/profiles/profile_manager_unittest.cc

Issue 7619008: Change kNotSignedInProfile to kInitialProfile to better reflect its usage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: I can't spel 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 | « chrome/browser/profiles/profile_manager.cc ('k') | chrome/browser/shell_integration_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_manager_unittest.cc
===================================================================
--- chrome/browser/profiles/profile_manager_unittest.cc (revision 96347)
+++ chrome/browser/profiles/profile_manager_unittest.cc (working copy)
@@ -105,9 +105,9 @@
cl->AppendSwitch(switches::kTestType);
FilePath expected_default =
- FilePath().AppendASCII(chrome::kNotSignedInProfile);
+ FilePath().AppendASCII(chrome::kInitialProfile);
EXPECT_EQ(expected_default.value(),
- profile_manager_->GetCurrentProfileDir().value());
+ profile_manager_->GetInitialProfileDir().value());
}
#if defined(OS_CHROMEOS)
@@ -120,18 +120,18 @@
cl->AppendSwitch(switches::kTestType);
FilePath expected_default =
- FilePath().AppendASCII(chrome::kNotSignedInProfile);
+ FilePath().AppendASCII(chrome::kInitialProfile);
EXPECT_EQ(expected_default.value(),
- profile_manager_->GetCurrentProfileDir().value());
+ profile_manager_->GetInitialProfileDir().value());
profile_manager_->Observe(chrome::NOTIFICATION_LOGIN_USER_CHANGED,
NotificationService::AllSources(),
NotificationService::NoDetails());
FilePath expected_logged_in(profile_dir);
EXPECT_EQ(expected_logged_in.value(),
- profile_manager_->GetCurrentProfileDir().value());
+ profile_manager_->GetInitialProfileDir().value());
VLOG(1) << temp_dir_.path().Append(
- profile_manager_->GetCurrentProfileDir()).value();
+ profile_manager_->GetInitialProfileDir()).value();
}
#endif
« no previous file with comments | « chrome/browser/profiles/profile_manager.cc ('k') | chrome/browser/shell_integration_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698