Index: chrome/browser/chrome_browser_main_win.cc |
diff --git a/chrome/browser/chrome_browser_main_win.cc b/chrome/browser/chrome_browser_main_win.cc |
index 083c59dd4717e1a5230b631aaef0abec7d445486..e8cd5933c25a34dddd77357d4cf58d020d78555a 100644 |
--- a/chrome/browser/chrome_browser_main_win.cc |
+++ b/chrome/browser/chrome_browser_main_win.cc |
@@ -199,7 +199,6 @@ void ChromeBrowserMainPartsWin::PreMainMessageLoopStart() { |
// Make sure that we know how to handle exceptions from the message loop. |
InitializeWindowProcExceptions(); |
} |
- storage_monitor_.reset(chrome::StorageMonitorWin::Create()); |
} |
void ChromeBrowserMainPartsWin::PostMainMessageLoopStart() { |
@@ -217,10 +216,16 @@ void ChromeBrowserMainPartsWin::PostMainMessageLoopStart() { |
} |
} |
-void ChromeBrowserMainPartsWin::PreMainMessageLoopRun() { |
- ChromeBrowserMainParts::PreMainMessageLoopRun(); |
+void ChromeBrowserMainPartsWin::PreProfileInit() { |
+ storage_monitor_.reset(chrome::StorageMonitorWin::Create()); |
+ ChromeBrowserMainParts::PreProfileInit(); |
+} |
+ |
+void ChromeBrowserMainPartsWin::PostProfileInit() { |
storage_monitor_->Init(); |
+ |
+ ChromeBrowserMainParts::PostProfileInit(); |
} |
void ChromeBrowserMainPartsWin::ShowMissingLocaleMessageBox() { |