Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(314)

Unified Diff: chrome/common/logging_chrome.cc

Issue 2946983002: Move eventlog_provider from //base/win to //chrome/common/win (Closed)
Patch Set: Address review comments on #5 Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/BUILD.gn ('k') | chrome/common/win/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/logging_chrome.cc
diff --git a/chrome/common/logging_chrome.cc b/chrome/common/logging_chrome.cc
index 8f676714335e5ad2481bdccc82fea7ac4eca6048..dc58f8d2c622e42a49d22a1596bb81f64a8065e5 100644
--- a/chrome/common/logging_chrome.cc
+++ b/chrome/common/logging_chrome.cc
@@ -62,6 +62,7 @@
#include <initguid.h>
#include "base/logging_win.h"
#include "base/syslog_logging.h"
+#include "chrome/common/win/eventlog_messages.h"
#include "chrome/install_static/install_details.h"
#endif
@@ -332,8 +333,9 @@ void InitChromeLogging(const base::CommandLine& command_line,
LogEventProvider::Initialize(kChromeTraceProviderName);
// Enable logging to the Windows Event Log.
- SetEventSourceName(base::UTF16ToASCII(
- install_static::InstallDetails::Get().install_full_name()));
+ SetEventSource(base::UTF16ToASCII(
+ install_static::InstallDetails::Get().install_full_name()),
+ BROWSER_CATEGORY, MSG_LOG_MESSAGE);
#endif
base::StatisticsRecorder::InitLogOnShutdown();
« no previous file with comments | « chrome/common/BUILD.gn ('k') | chrome/common/win/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698