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

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

Issue 10824020: Move PROFILE_DESTROYED notification to ProfileDestroyer and observe it in ExtensionProcessManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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_impl.cc
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index 7a5199b570866ce71fbd6ab0f9d35ce0783ed4e2..651cf3d32ffda2eabc0b6b48e501b7e2fc752ce9 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -461,10 +461,6 @@ void ProfileImpl::set_last_selected_directory(const FilePath& path) {
}
ProfileImpl::~ProfileImpl() {
- content::NotificationService::current()->Notify(
- chrome::NOTIFICATION_PROFILE_DESTROYED,
- content::Source<Profile>(this),
- content::NotificationService::NoDetails());
bool prefs_loaded = prefs_->GetInitializationStatus() !=
PrefService::INITIALIZATION_STATUS_WAITING;

Powered by Google App Engine
This is Rietveld 408576698