Index: chrome/browser/chrome_browser_main_win.cc |
=================================================================== |
--- chrome/browser/chrome_browser_main_win.cc (revision 230239) |
+++ chrome/browser/chrome_browser_main_win.cc (working copy) |
@@ -22,6 +22,7 @@ |
#include "base/win/windows_version.h" |
#include "base/win/wrapped_window_proc.h" |
#include "chrome/browser/browser_util_win.h" |
+#include "chrome/browser/install_module_verifier_win.h" |
#include "chrome/browser/profiles/profile_info_cache.h" |
#include "chrome/browser/profiles/profile_shortcut_manager.h" |
#include "chrome/browser/shell_integration.h" |
@@ -38,6 +39,7 @@ |
#include "chrome/installer/util/install_util.h" |
#include "chrome/installer/util/l10n_string_util.h" |
#include "chrome/installer/util/shell_util.h" |
+#include "content/public/browser/browser_thread.h" |
#include "content/public/common/main_function_params.h" |
#include "grit/app_locale_settings.h" |
#include "grit/chromium_strings.h" |
@@ -224,6 +226,18 @@ |
MB_OK | MB_ICONERROR | MB_TOPMOST); |
} |
+void ChromeBrowserMainPartsWin::PostBrowserStart() { |
+ ChromeBrowserMainParts::PostBrowserStart(); |
+ |
+ // Set up a task to verify installed modules in the current process. Use a |
+ // delay to reduce the impact on startup time. |
+ content::BrowserThread::GetMessageLoopProxyForThread( |
+ content::BrowserThread::UI)->PostDelayedTask( |
+ FROM_HERE, |
+ base::Bind(&BeginModuleVerification), |
+ base::TimeDelta::FromSeconds(45)); |
+} |
+ |
// static |
void ChromeBrowserMainPartsWin::PrepareRestartOnCrashEnviroment( |
const CommandLine& parsed_command_line) { |