summaryrefslogtreecommitdiffstats
path: root/chrome/installer
diff options
context:
space:
mode:
authortommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-16 17:42:27 +0000
committertommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-16 17:42:27 +0000
commitaf6741fe8d0ec47e5d7860e6f3812d2f15212db0 (patch)
treee7ea06b296643670643552cc9d4e0367e9730c1b /chrome/installer
parent4a4dbc40e388bb39b2d1dc40d9eef4516bf5bb1e (diff)
downloadchromium_src-af6741fe8d0ec47e5d7860e6f3812d2f15212db0.zip
chromium_src-af6741fe8d0ec47e5d7860e6f3812d2f15212db0.tar.gz
chromium_src-af6741fe8d0ec47e5d7860e6f3812d2f15212db0.tar.bz2
Enable ETW logging in setup.
BUG=none TEST=Should be no change Review URL: http://codereview.chromium.org/5049001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66286 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer')
-rw-r--r--chrome/installer/util/logging_installer.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/installer/util/logging_installer.cc b/chrome/installer/util/logging_installer.cc
index 33cf342..6842832 100644
--- a/chrome/installer/util/logging_installer.cc
+++ b/chrome/installer/util/logging_installer.cc
@@ -16,6 +16,10 @@
#include "chrome/installer/util/master_preferences_constants.h"
#include "chrome/installer/util/util_constants.h"
+// {93BCE0BF-3FAF-43b1-9E28-BEB6FAB5ECE7}
+static const GUID kSetupTraceProvider = { 0x93bce0bf, 0x3faf, 0x43b1,
+ { 0x9e, 0x28, 0xbe, 0xb6, 0xfa, 0xb5, 0xec, 0xe7 } };
+
namespace installer {
// This should be true for the period between the end of
@@ -45,6 +49,9 @@ void InitInstallerLogging(const installer_util::MasterPreferences& prefs) {
logging::SetMinLogLevel(logging::LOG_ERROR);
}
+ // Enable ETW logging.
+ logging::LogEventProvider::Initialize(kSetupTraceProvider);
+
installer_logging_ = true;
}