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

Unified Diff: device/usb/usb_log.h

Issue 941063003: Log device/usb messages to chrome://device-log. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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: device/usb/usb_log.h
diff --git a/device/usb/usb_log.h b/device/usb/usb_log.h
new file mode 100644
index 0000000000000000000000000000000000000000..84cb684bb99f69dce65201776cf3303e001737cb
--- /dev/null
+++ b/device/usb/usb_log.h
@@ -0,0 +1,14 @@
+// Copyright 2015 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.
+
+#ifndef DEVICE_USB_USB_LOG_H_
+#define DEVICE_USB_USB_LOG_H_
+
+#if defined(OS_CHROMEOS)
+#include "chromeos/device_event_log.h"
+#else
+#define USB_LOG(x) VLOG(1)
stevenjb 2015/02/20 00:01:27 You might want to try something like: #define USB
+#endif
+
+#endif // DEVICE_USB_USB_LOG_H_

Powered by Google App Engine
This is Rietveld 408576698