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

Unified Diff: talk/media/devices/linuxdevicemanager.cc

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase + revert basictypes.h (to be landed separately just in case of a revert due to unexpected us… Created 5 years, 2 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 | « talk/media/devices/gtkvideorenderer.cc ('k') | talk/media/devices/mobiledevicemanager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/media/devices/linuxdevicemanager.cc
diff --git a/talk/media/devices/linuxdevicemanager.cc b/talk/media/devices/linuxdevicemanager.cc
index d122169ad6d57d068b50aa7b65ab7c866eb77e5d..25be321c5e580b60019089e37af631c977ac6baf 100644
--- a/talk/media/devices/linuxdevicemanager.cc
+++ b/talk/media/devices/linuxdevicemanager.cc
@@ -60,9 +60,9 @@ class LinuxDeviceWatcher
virtual void Stop();
private:
- virtual uint32 GetRequestedEvents();
- virtual void OnPreEvent(uint32 ff);
- virtual void OnEvent(uint32 ff, int err);
+ virtual uint32_t GetRequestedEvents();
+ virtual void OnPreEvent(uint32_t ff);
+ virtual void OnEvent(uint32_t ff, int err);
virtual int GetDescriptor();
virtual bool IsDescriptorClosed();
@@ -368,15 +368,15 @@ void LinuxDeviceWatcher::Stop() {
libudev_.Unload();
}
-uint32 LinuxDeviceWatcher::GetRequestedEvents() {
+uint32_t LinuxDeviceWatcher::GetRequestedEvents() {
return rtc::DE_READ;
}
-void LinuxDeviceWatcher::OnPreEvent(uint32 ff) {
+void LinuxDeviceWatcher::OnPreEvent(uint32_t ff) {
// Nothing to do.
}
-void LinuxDeviceWatcher::OnEvent(uint32 ff, int err) {
+void LinuxDeviceWatcher::OnEvent(uint32_t ff, int err) {
udev_device* device = libudev_.udev_monitor_receive_device()(udev_monitor_);
if (!device) {
// Probably the socket connection to the udev daemon was terminated (perhaps
« no previous file with comments | « talk/media/devices/gtkvideorenderer.cc ('k') | talk/media/devices/mobiledevicemanager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698