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

Unified Diff: chrome/browser/profile_manager.cc

Issue 431008: Make SystemMonitor not a Singleton and move it out of base (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: fix ChromeFrame build Created 11 years, 1 month 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/profile_manager.cc
diff --git a/chrome/browser/profile_manager.cc b/chrome/browser/profile_manager.cc
index 2a20bdc2994503df4acc277108d96dda1d3827e7..9b66e3966a7aa9872fd4627368a4ae645fdb5bd8 100644
--- a/chrome/browser/profile_manager.cc
+++ b/chrome/browser/profile_manager.cc
@@ -42,11 +42,11 @@ void ProfileManager::ShutdownSessionServices() {
}
ProfileManager::ProfileManager() {
- base::SystemMonitor::Get()->AddObserver(this);
+ SystemMonitor::Get()->AddObserver(this);
}
ProfileManager::~ProfileManager() {
- base::SystemMonitor* system_monitor = base::SystemMonitor::Get();
+ SystemMonitor* system_monitor = SystemMonitor::Get();
if (system_monitor)
system_monitor->RemoveObserver(this);

Powered by Google App Engine
This is Rietveld 408576698