Index: chrome/plugin/plugin_main.cc |
=================================================================== |
--- chrome/plugin/plugin_main.cc (revision 6119) |
+++ chrome/plugin/plugin_main.cc (working copy) |
@@ -4,6 +4,7 @@ |
#include "base/command_line.h" |
#include "base/message_loop.h" |
+#include "base/system_monitor.h" |
#include "chrome/common/chrome_constants.h" |
#include "chrome/common/chrome_switches.h" |
#include "chrome/common/logging_chrome.h" |
@@ -20,6 +21,9 @@ |
std::wstring app_name = chrome::kBrowserAppName; |
PlatformThread::SetName(WideToASCII(app_name + L"_PluginMain").c_str()); |
+ // Initialize the SystemMonitor |
+ base::SystemMonitor::Start(); |
+ |
CoInitialize(NULL); |
DLOG(INFO) << "Started plugin with " << |
parsed_command_line.command_line_string(); |