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

Unified Diff: device/usb/usb_service.h

Issue 800963005: Add browser tests for USB device add/remove events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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_service.h
diff --git a/device/usb/usb_service.h b/device/usb/usb_service.h
index 076d36377d0979f54a2b2e6a603644172ea77781..4655bfdbfa64d2ee640edbbde783f51aa10fc46c 100644
--- a/device/usb/usb_service.h
+++ b/device/usb/usb_service.h
@@ -55,8 +55,6 @@ class UsbService : public base::NonThreadSafe {
void RemoveObserver(Observer* observer);
protected:
- friend struct base::DefaultDeleter<UsbService>;
-
UsbService();
virtual ~UsbService();
@@ -65,6 +63,9 @@ class UsbService : public base::NonThreadSafe {
ObserverList<Observer, true> observer_list_;
+ private:
+ class Destroyer;
+
DISALLOW_COPY_AND_ASSIGN(UsbService);
};
« no previous file with comments | « device/usb/usb.gyp ('k') | device/usb/usb_service.cc » ('j') | device/usb/usb_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698