summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profiles/profile_manager_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/profiles/profile_manager_unittest.cc')
-rw-r--r--chrome/browser/profiles/profile_manager_unittest.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/chrome/browser/profiles/profile_manager_unittest.cc b/chrome/browser/profiles/profile_manager_unittest.cc
index 3b49eac..dd2417b 100644
--- a/chrome/browser/profiles/profile_manager_unittest.cc
+++ b/chrome/browser/profiles/profile_manager_unittest.cc
@@ -125,7 +125,7 @@ class ProfileManagerTest : public testing::Test {
base::Unretained(mock_observer)),
UTF8ToUTF16(name),
string16(),
- false);
+ std::string());
}
#if defined(OS_CHROMEOS)
@@ -319,11 +319,11 @@ TEST_F(ProfileManagerTest, AutoloadProfilesWithBackgroundApps) {
EXPECT_EQ(0u, cache.GetNumberOfProfiles());
cache.AddProfileToCache(cache.GetUserDataDir().AppendASCII("path_1"),
- ASCIIToUTF16("name_1"), string16(), 0, false);
+ ASCIIToUTF16("name_1"), string16(), 0, std::string());
cache.AddProfileToCache(cache.GetUserDataDir().AppendASCII("path_2"),
- ASCIIToUTF16("name_2"), string16(), 0, false);
+ ASCIIToUTF16("name_2"), string16(), 0, std::string());
cache.AddProfileToCache(cache.GetUserDataDir().AppendASCII("path_3"),
- ASCIIToUTF16("name_3"), string16(), 0, false);
+ ASCIIToUTF16("name_3"), string16(), 0, std::string());
cache.SetBackgroundStatusOfProfileAtIndex(0, true);
cache.SetBackgroundStatusOfProfileAtIndex(2, true);
EXPECT_EQ(3u, cache.GetNumberOfProfiles());
@@ -341,9 +341,9 @@ TEST_F(ProfileManagerTest, DoNotAutoloadProfilesIfBackgroundModeOff) {
EXPECT_EQ(0u, cache.GetNumberOfProfiles());
cache.AddProfileToCache(cache.GetUserDataDir().AppendASCII("path_1"),
- ASCIIToUTF16("name_1"), string16(), 0, false);
+ ASCIIToUTF16("name_1"), string16(), 0, std::string());
cache.AddProfileToCache(cache.GetUserDataDir().AppendASCII("path_2"),
- ASCIIToUTF16("name_2"), string16(), 0, false);
+ ASCIIToUTF16("name_2"), string16(), 0, std::string());
cache.SetBackgroundStatusOfProfileAtIndex(0, false);
cache.SetBackgroundStatusOfProfileAtIndex(1, true);
EXPECT_EQ(2u, cache.GetNumberOfProfiles());
@@ -684,7 +684,7 @@ TEST_F(ProfileManagerTest, ActiveProfileDeletedNeedsToLoadNextProfile) {
// Track the profile, but don't load it.
ProfileInfoCache& cache = profile_manager->GetProfileInfoCache();
cache.AddProfileToCache(dest_path2, ASCIIToUTF16(profile_name2),
- string16(), 0, false);
+ string16(), 0, std::string());
base::RunLoop().RunUntilIdle();
EXPECT_EQ(1u, profile_manager->GetLoadedProfiles().size());
@@ -737,9 +737,9 @@ TEST_F(ProfileManagerTest, ActiveProfileDeletedNextProfileDeletedToo) {
// and not randomly by the avatar name.
ProfileInfoCache& cache = profile_manager->GetProfileInfoCache();
cache.AddProfileToCache(dest_path2, ASCIIToUTF16(profile_name2),
- ASCIIToUTF16(profile_name2), 1, false);
+ ASCIIToUTF16(profile_name2), 1, std::string());
cache.AddProfileToCache(dest_path3, ASCIIToUTF16(profile_name3),
- ASCIIToUTF16(profile_name3), 2, false);
+ ASCIIToUTF16(profile_name3), 2, std::string());
base::RunLoop().RunUntilIdle();