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

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

Issue 10701012: JSON Schema Compiler: Added event compilation. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Synced. Created 8 years, 5 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: 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 bb841864cadd1f2f65a0b1c341ba46c76151d14e..65c00b0d6d7eea910a58b289043c2c6a62539b8b 100644
--- a/chrome/browser/extensions/api/usb/usb_api.cc
+++ b/chrome/browser/extensions/api/usb/usb_api.cc
@@ -57,7 +57,7 @@ void UsbFindDeviceFunction::Work() {
result.handle = controller()->AddAPIResource(resource);
result.vendor_id = parameters_->vendor_id;
result.product_id = parameters_->product_id;
- SetResult(FindDevice::Result::Create(result));
+ results_ = FindDevice::Results::Create(result);
}
bool UsbFindDeviceFunction::Respond() {
« no previous file with comments | « chrome/browser/extensions/api/record/record_api.cc ('k') | chrome/browser/extensions/api/web_navigation/web_navigation_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698