summaryrefslogtreecommitdiff
path: root/chromium/third_party/win_build_output/mc/chrome/common/win/eventlog_messages.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/win_build_output/mc/chrome/common/win/eventlog_messages.h')
-rw-r--r--chromium/third_party/win_build_output/mc/chrome/common/win/eventlog_messages.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/chromium/third_party/win_build_output/mc/chrome/common/win/eventlog_messages.h b/chromium/third_party/win_build_output/mc/chrome/common/win/eventlog_messages.h
new file mode 100644
index 00000000000..f845791c442
--- /dev/null
+++ b/chromium/third_party/win_build_output/mc/chrome/common/win/eventlog_messages.h
@@ -0,0 +1,66 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+//
+// Defines the names and types of messages that are logged with the SYSLOG
+// macro.
+// TODO(pastarmovj): Subdivide into more categories if needed.
+//
+// Values are 32 bit values laid out as follows:
+//
+// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
+// 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
+// +---+-+-+-----------------------+-------------------------------+
+// |Sev|C|R| Facility | Code |
+// +---+-+-+-----------------------+-------------------------------+
+//
+// where
+//
+// Sev - is the severity code
+//
+// 00 - Success
+// 01 - Informational
+// 10 - Warning
+// 11 - Error
+//
+// C - is the Customer code flag
+//
+// R - is a reserved bit
+//
+// Facility - is the facility code
+//
+// Code - is the facility's status code
+//
+//
+// Define the facility codes
+//
+#define FACILITY_SYSTEM 0x0
+
+
+//
+// Define the severity codes
+//
+#define STATUS_SEVERITY_INFORMATIONAL 0x0
+#define STATUS_SEVERITY_WARNING 0x1
+#define STATUS_SEVERITY_ERROR 0x2
+#define STATUS_SEVERITY_FATAL 0x3
+
+
+//
+// MessageId: BROWSER_CATEGORY
+//
+// MessageText:
+//
+// Browser Events
+//
+#define BROWSER_CATEGORY ((WORD)0x00000001L)
+
+//
+// MessageId: MSG_LOG_MESSAGE
+//
+// MessageText:
+//
+// %1!S!
+//
+#define MSG_LOG_MESSAGE ((DWORD)0x80000100L)
+