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

Unified Diff: components/device_event_log/device_event_log_impl.cc

Issue 2811433002: Log app and tab discards. (Closed)
Patch Set: longer message when unable to kill Created 3 years, 8 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
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 cac5547f18484d25b143782bc9512bb7bc9ef455..5ea67e9e20b47124904eafa24f49ed159faf5aa1 100644
--- a/components/device_event_log/device_event_log_impl.cc
+++ b/components/device_event_log/device_event_log_impl.cc
@@ -32,6 +32,7 @@ const char* kLogTypeLoginDesc = "Login";
const char* kLogTypeBluetoothDesc = "Bluetooth";
const char* kLogTypeUsbDesc = "USB";
const char* kLogTypeHidDesc = "HID";
+const char* kLogTypeMemoryDesc = "Memory";
std::string GetLogTypeString(LogType type) {
switch (type) {
@@ -47,6 +48,8 @@ std::string GetLogTypeString(LogType type) {
return kLogTypeUsbDesc;
case LOG_TYPE_HID:
return kLogTypeHidDesc;
+ case LOG_TYPE_MEMORY:
+ return kLogTypeMemoryDesc;
case LOG_TYPE_UNKNOWN:
break;
}

Powered by Google App Engine
This is Rietveld 408576698