Index: chrome/browser/profiles/profile_destroyer.cc |
diff --git a/chrome/browser/profiles/profile_destroyer.cc b/chrome/browser/profiles/profile_destroyer.cc |
index fb16f81300ea899872517f65352e1b2c891455ab..7e8de0a72a4edf2deaa98163e2291c325f224531 100644 |
--- a/chrome/browser/profiles/profile_destroyer.cc |
+++ b/chrome/browser/profiles/profile_destroyer.cc |
@@ -5,6 +5,7 @@ |
#include "chrome/browser/profiles/profile_destroyer.h" |
#include "base/bind.h" |
+#include "base/debug/trace_event.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/message_loop/message_loop.h" |
#include "chrome/browser/profiles/profile.h" |
@@ -23,6 +24,8 @@ std::vector<ProfileDestroyer*>* ProfileDestroyer::pending_destroyers_ = NULL; |
// static |
void ProfileDestroyer::DestroyProfileWhenAppropriate(Profile* const profile) { |
+ TRACE_EVENT0("shutdown", "ProfileDestroyer::DestroyProfileWhenAppropriate"); |
+ |
DCHECK(profile); |
profile->MaybeSendDestroyedNotification(); |