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

Unified Diff: components/device_event_log/device_event_log_impl.cc

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 | « components/device_event_log/device_event_log.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/device_event_log/device_event_log_impl.cc
diff --git a/components/device_event_log/device_event_log_impl.cc b/components/device_event_log/device_event_log_impl.cc
index 94ee5fded90ac93f72355c2b2a435bdb76dc4b8f..5bd7bb72493d3eac8c1360ef43a05cf28ff3ced8 100644
--- a/components/device_event_log/device_event_log_impl.cc
+++ b/components/device_event_log/device_event_log_impl.cc
@@ -31,6 +31,7 @@ const char* kLogLevelName[] = {"Error", "User", "Event", "Debug"};
const char* kLogTypeNetworkDesc = "Network";
const char* kLogTypePowerDesc = "Power";
const char* kLogTypeLoginDesc = "Login";
+const char* kLogTypeBluetoothDesc = "Bluetooth";
const char* kLogTypeUsbDesc = "USB";
const char* kLogTypeHidDesc = "HID";
@@ -42,6 +43,8 @@ std::string GetLogTypeString(LogType type) {
return kLogTypePowerDesc;
case LOG_TYPE_LOGIN:
return kLogTypeLoginDesc;
+ case LOG_TYPE_BLUETOOTH:
+ return kLogTypeBluetoothDesc;
case LOG_TYPE_USB:
return kLogTypeUsbDesc;
case LOG_TYPE_HID:
« no previous file with comments | « components/device_event_log/device_event_log.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698