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

Unified Diff: chrome/browser/extensions/api/usb/usb_api.cc

Issue 11636050: Eliminate ApiResourceEventNotifier. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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: chrome/browser/extensions/api/usb/usb_api.cc
diff --git a/chrome/browser/extensions/api/usb/usb_api.cc b/chrome/browser/extensions/api/usb/usb_api.cc
index f33eaaa45359f26923cbff9b005c4d47cc89894b..717a52c50f6cbfa62c6d2ad27643596406f133a7 100644
--- a/chrome/browser/extensions/api/usb/usb_api.cc
+++ b/chrome/browser/extensions/api/usb/usb_api.cc
@@ -295,7 +295,8 @@ void UsbFindDevicesFunction::AsyncWorkStart() {
if (device_for_test_) {
UsbDeviceResource* const resource = new UsbDeviceResource(
- extension_->id(), NULL, device_for_test_);
+ extension_->id(),
+ device_for_test_);
Device device;
result->Append(PopulateDevice(manager_->Add(resource), 0, 0));
@@ -327,7 +328,7 @@ void UsbFindDevicesFunction::AsyncWorkStart() {
for (size_t i = 0; i < devices.size(); ++i) {
UsbDevice* const device = devices[i];
UsbDeviceResource* const resource = new UsbDeviceResource(
- extension_->id(), NULL, device);
+ extension_->id(), device);
Device js_device;
result->Append(PopulateDevice(manager_->Add(resource),
« no previous file with comments | « chrome/browser/extensions/api/usb/usb_api.h ('k') | chrome/browser/extensions/api/usb/usb_device_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698