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

Unified Diff: chrome/browser/usb/usb_service.cc

Issue 10332075: Adding use_system_libusb option for third_party/libusb (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review changes. Created 8 years, 7 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/usb/usb_service.h ('k') | third_party/libusb/AUTHORS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/usb/usb_service.cc
diff --git a/chrome/browser/usb/usb_service.cc b/chrome/browser/usb/usb_service.cc
index ad172d88508b2ac06070b809a34f40d7d85ae25f..c69c40c35df50902a2a9456b5c5a697105e6afb4 100644
--- a/chrome/browser/usb/usb_service.cc
+++ b/chrome/browser/usb/usb_service.cc
@@ -8,7 +8,7 @@
#include "base/bind_helpers.h"
#include "base/stl_util.h"
#include "chrome/browser/usb/usb_device.h"
-#include "third_party/libusb/libusb/libusb.h"
+#include "third_party/libusb/libusb.h"
UsbService::UsbService() : running_(true), thread_("UsbThread") {
libusb_init(&context_);
@@ -75,7 +75,7 @@ void UsbService::PostHandleEventTask() {
}
void UsbService::HandleEvent() {
- libusb_handle_events_completed(context_, NULL);
+ libusb_handle_events(context_);
if (running_) {
PostHandleEventTask();
}
« no previous file with comments | « chrome/browser/usb/usb_service.h ('k') | third_party/libusb/AUTHORS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698