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

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

Issue 15734006: Restructure user-creation flow and surface errors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
Index: chrome/browser/profiles/profile_manager_browsertest.cc
===================================================================
--- chrome/browser/profiles/profile_manager_browsertest.cc (revision 202001)
+++ chrome/browser/profiles/profile_manager_browsertest.cc (working copy)
@@ -96,7 +96,7 @@
base::FilePath singleton_profile_path = cache.GetPathOfProfileAtIndex(0);
EXPECT_FALSE(singleton_profile_path.empty());
profile_manager->ScheduleProfileForDeletion(singleton_profile_path,
- chrome::HOST_DESKTOP_TYPE_NATIVE);
+ ProfileManager::CreateCallback());
// Spin things till profile is actually deleted.
content::RunAllPendingInMessageLoop();
@@ -142,9 +142,9 @@
EXPECT_FALSE(profile_path1.empty());
EXPECT_FALSE(profile_path2.empty());
profile_manager->ScheduleProfileForDeletion(profile_path1,
- chrome::HOST_DESKTOP_TYPE_NATIVE);
+ ProfileManager::CreateCallback());
profile_manager->ScheduleProfileForDeletion(profile_path2,
- chrome::HOST_DESKTOP_TYPE_NATIVE);
+ ProfileManager::CreateCallback());
// Spin things so deletion can take place.
content::RunAllPendingInMessageLoop();
@@ -175,7 +175,6 @@
string16(), // name
string16(), // icon url
base::Bind(ProfileCreationComplete),
- chrome::GetActiveDesktop(),
false);
// Wait for profile to finish loading.
content::RunMessageLoop();

Powered by Google App Engine
This is Rietveld 408576698