diff options
author | mbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-30 23:54:35 +0000 |
---|---|---|
committer | mbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-30 23:54:35 +0000 |
commit | 4f470ec4e08cf042997d68c55bb7aeeeeaa1209c (patch) | |
tree | bb0f13c32bb3f27849a8f694720e0664b0550fda /chrome/renderer/renderer_main.cc | |
parent | 9b6b8dbb54aeec5b4f271a7b5aed18c45664f911 (diff) | |
download | chromium_src-4f470ec4e08cf042997d68c55bb7aeeeeaa1209c.zip chromium_src-4f470ec4e08cf042997d68c55bb7aeeeeaa1209c.tar.gz chromium_src-4f470ec4e08cf042997d68c55bb7aeeeeaa1209c.tar.bz2 |
A new copy of the old system monitor changelist.
Review URL: http://codereview.chromium.org/12817
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6126 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/renderer_main.cc')
-rw-r--r-- | chrome/renderer/renderer_main.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/renderer/renderer_main.cc b/chrome/renderer/renderer_main.cc index 21da042..5d633f6 100644 --- a/chrome/renderer/renderer_main.cc +++ b/chrome/renderer/renderer_main.cc @@ -7,6 +7,7 @@ #include "base/path_service.h" #include "base/platform_thread.h" #include "base/string_util.h" +#include "base/system_monitor.h" #include "chrome/common/chrome_constants.h" #include "chrome/common/chrome_counters.h" #include "chrome/common/chrome_switches.h" @@ -53,6 +54,9 @@ int RendererMain(CommandLine &parsed_command_line, std::wstring app_name = chrome::kBrowserAppName; PlatformThread::SetName(WideToASCII(app_name + L"_RendererMain").c_str()); + // Initialize the SystemMonitor + base::SystemMonitor::Start(); + CoInitialize(NULL); DLOG(INFO) << "Started renderer with " << |