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

Unified Diff: device/usb/usb_service.h

Issue 2688303002: Add a feature flag for the new Windows USB backend. (Closed)
Patch Set: Update histograms. Created 3 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
« no previous file with comments | « device/usb/mock_usb_service.cc ('k') | device/usb/usb_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/usb_service.h
diff --git a/device/usb/usb_service.h b/device/usb/usb_service.h
index 99b626d030632b0e9ba880c02b2e4642a998d881..15977dd1c544a5270084dc9a0a3eb57609b70c11 100644
--- a/device/usb/usb_service.h
+++ b/device/usb/usb_service.h
@@ -76,17 +76,16 @@ class UsbService : public base::NonThreadSafe {
void GetTestDevices(std::vector<scoped_refptr<UsbDevice>>* devices);
protected:
- UsbService(scoped_refptr<base::SingleThreadTaskRunner> task_runner,
- scoped_refptr<base::SequencedTaskRunner> blocking_task_runner);
+ UsbService(scoped_refptr<base::SequencedTaskRunner> blocking_task_runner);
void NotifyDeviceAdded(scoped_refptr<UsbDevice> device);
void NotifyDeviceRemoved(scoped_refptr<UsbDevice> device);
- scoped_refptr<base::SingleThreadTaskRunner> task_runner() {
+ const scoped_refptr<base::SingleThreadTaskRunner>& task_runner() const {
return task_runner_;
}
- scoped_refptr<base::SequencedTaskRunner> blocking_task_runner() {
+ const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner() const {
return blocking_task_runner_;
}
« no previous file with comments | « device/usb/mock_usb_service.cc ('k') | device/usb/usb_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698