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

Side by Side Diff: device/hid/hid_service.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « device/hid/device_monitor_linux.h ('k') | device/hid/input_service_linux.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef DEVICE_HID_HID_SERVICE_H_ 5 #ifndef DEVICE_HID_HID_SERVICE_H_
6 #define DEVICE_HID_HID_SERVICE_H_ 6 #define DEVICE_HID_HID_SERVICE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 void FirstEnumerationComplete(); 82 void FirstEnumerationComplete();
83 83
84 const DeviceMap& devices() const { return devices_; } 84 const DeviceMap& devices() const { return devices_; }
85 85
86 base::ThreadChecker thread_checker_; 86 base::ThreadChecker thread_checker_;
87 87
88 private: 88 private:
89 DeviceMap devices_; 89 DeviceMap devices_;
90 bool enumeration_ready_; 90 bool enumeration_ready_;
91 std::vector<GetDevicesCallback> pending_enumerations_; 91 std::vector<GetDevicesCallback> pending_enumerations_;
92 ObserverList<Observer> observer_list_; 92 base::ObserverList<Observer> observer_list_;
93 93
94 DISALLOW_COPY_AND_ASSIGN(HidService); 94 DISALLOW_COPY_AND_ASSIGN(HidService);
95 }; 95 };
96 96
97 } // namespace device 97 } // namespace device
98 98
99 #endif // DEVICE_HID_HID_SERVICE_H_ 99 #endif // DEVICE_HID_HID_SERVICE_H_
OLDNEW
« no previous file with comments | « device/hid/device_monitor_linux.h ('k') | device/hid/input_service_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698