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

Unified Diff: components/device_event_log/device_event_log.h

Issue 1587723007: bluetooth: Add Bluetooth events to chrome://device-log/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove BLUETOOTH_LOG calls for now Created 4 years, 11 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/browser/ui/webui/device_log_ui.cc ('k') | components/device_event_log/device_event_log_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/device_event_log/device_event_log.h
diff --git a/components/device_event_log/device_event_log.h b/components/device_event_log/device_event_log.h
index c59223af4443d7e0b73b1f8bc2dc1eaeab17e26b..f04ae637b6c41902a4d3c1cdc84e75b537fa92fa 100644
--- a/components/device_event_log/device_event_log.h
+++ b/components/device_event_log/device_event_log.h
@@ -40,6 +40,9 @@
#define LOGIN_LOG(level) \
DEVICE_LOG(::device_event_log::LOG_TYPE_LOGIN, \
::device_event_log::LOG_LEVEL_##level)
+#define BLUETOOTH_LOG(level) \
+ DEVICE_LOG(::device_event_log::LOG_TYPE_BLUETOOTH, \
+ ::device_event_log::LOG_LEVEL_##level)
#define USB_LOG(level) \
DEVICE_LOG(::device_event_log::LOG_TYPE_USB, \
::device_event_log::LOG_LEVEL_##level)
@@ -86,6 +89,8 @@ enum LogType {
LOG_TYPE_POWER,
// Login related events.
LOG_TYPE_LOGIN,
+ // Bluetooth device related events (i.e. device/bluetooth).
+ LOG_TYPE_BLUETOOTH,
// USB device related events (i.e. device/usb).
LOG_TYPE_USB,
// Human-interface device related events (i.e. device/hid).
« no previous file with comments | « chrome/browser/ui/webui/device_log_ui.cc ('k') | components/device_event_log/device_event_log_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698