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

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

Issue 322533002: Restart Chrome on ChromeOS as early as possible to speed up restart. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix win build. Created 6 years, 6 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.cc
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
index 6373db817d7e05726119173e0bba3d4215db29c5..004960b8331e5051ee4d780d452b153ed2287b33 100644
--- a/chrome/browser/profiles/profile_manager.cc
+++ b/chrome/browser/profiles/profile_manager.cc
@@ -382,6 +382,10 @@ void ProfileManager::CreateProfileAsync(
const base::string16& icon_url,
const std::string& supervised_user_id) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ TRACE_EVENT1("startup",
+ "ProfileManager::CreateProfileAsync",
+ "profile_path",
+ profile_path.value().c_str());
// Make sure that this profile is not pending deletion.
if (IsProfileMarkedForDeletion(profile_path)) {
« chrome/browser/chromeos/login/login_utils.cc ('K') | « chrome/browser/profiles/profile_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698