Lines Matching full:profile
12 #include "chrome/browser/profiles/profile.h"
28 Profile* g_created_profile;
61 MOCK_METHOD1(OnProfileCreated, void(Profile* profile));
73 // Also will test profile deletion.
81 dest_path = dest_path.Append(FILE_PATH_LITERAL("New Profile"));
83 Profile* profile;
85 // Successfully create a profile.
86 profile = profile_manager_->GetProfile(dest_path);
87 EXPECT_TRUE(profile);
89 // The profile already exists when we call GetProfile. Just load it.
90 EXPECT_EQ(profile, profile_manager_->GetProfile(dest_path));
133 dest_path1 = dest_path1.Append(FILE_PATH_LITERAL("New Profile 1"));
136 dest_path2 = dest_path2.Append(FILE_PATH_LITERAL("New Profile 2"));
138 Profile* profile1;
139 Profile* profile2;
148 // Force lazy-init of some profile services to simulate use.
149 EXPECT_TRUE(profile1->GetHistoryService(Profile::EXPLICIT_ACCESS));
152 EXPECT_TRUE(profile2->GetHistoryService(Profile::EXPLICIT_ACCESS));
163 // Tests asynchronous profile creation mechanism.
166 temp_dir_.path().Append(FILE_PATH_LITERAL("New Profile"));
184 temp_dir_.path().Append(FILE_PATH_LITERAL("New Profile"));
204 temp_dir_.path().Append(FILE_PATH_LITERAL("New Profile 1"));
206 temp_dir_.path().Append(FILE_PATH_LITERAL("New Profile 2"));