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

Unified Diff: remoting/client/plugin/pepper_audio_player.h

Issue 1542203002: Switch to standard integer types in remoting/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-remoting-host
Patch Set: Created 5 years 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 | « remoting/client/plugin/pepper_address_resolver.h ('k') | remoting/client/plugin/pepper_audio_player.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/pepper_audio_player.h
diff --git a/remoting/client/plugin/pepper_audio_player.h b/remoting/client/plugin/pepper_audio_player.h
index dcf2c6b8579904c496f32ba0dd7b30ac2304f7fd..eef697c5f67f45d2a97a1c0a765224eb0ed60159 100644
--- a/remoting/client/plugin/pepper_audio_player.h
+++ b/remoting/client/plugin/pepper_audio_player.h
@@ -5,7 +5,10 @@
#ifndef REMOTING_CLIENT_PLUGIN_PEPPER_AUDIO_PLAYER_H_
#define REMOTING_CLIENT_PLUGIN_PEPPER_AUDIO_PLAYER_H_
+#include <stdint.h>
+
#include "base/callback.h"
+#include "base/macros.h"
#include "ppapi/cpp/audio.h"
#include "ppapi/cpp/instance.h"
#include "remoting/client/audio_player.h"
@@ -18,7 +21,7 @@ class PepperAudioPlayer : public AudioPlayer {
explicit PepperAudioPlayer(pp::Instance* instance);
~PepperAudioPlayer() override;
- uint32 GetSamplesPerFrame() override;
+ uint32_t GetSamplesPerFrame() override;
bool ResetAudioPlayer(AudioPacket::SamplingRate sampling_rate) override;
@@ -27,7 +30,7 @@ class PepperAudioPlayer : public AudioPlayer {
pp::Audio audio_;
// The count of sample frames per channel in an audio buffer.
- uint32 samples_per_frame_;
+ uint32_t samples_per_frame_;
DISALLOW_COPY_AND_ASSIGN(PepperAudioPlayer);
};
« no previous file with comments | « remoting/client/plugin/pepper_address_resolver.h ('k') | remoting/client/plugin/pepper_audio_player.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698