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

Unified Diff: media/base/cdm_callback_promise.h

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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
Index: media/base/cdm_callback_promise.h
diff --git a/media/base/cdm_callback_promise.h b/media/base/cdm_callback_promise.h
index 8685c17a240e160d543de1424c36488ae70b8072..e4b5849aedad7a5cce3ac0a5a4847f68659b8745 100644
--- a/media/base/cdm_callback_promise.h
+++ b/media/base/cdm_callback_promise.h
@@ -7,7 +7,6 @@
#include <string>
-#include "base/basictypes.h"
#include "base/callback.h"
#include "media/base/cdm_promise.h"
#include "media/base/media_export.h"
@@ -16,7 +15,7 @@
namespace media {
typedef base::Callback<void(MediaKeys::Exception exception_code,
- uint32 system_code,
+ uint32_t system_code,
const std::string& error_message)>
PromiseRejectedCB;
@@ -30,7 +29,7 @@ class MEDIA_EXPORT CdmCallbackPromise : public CdmPromiseTemplate<T...> {
// CdmPromiseTemplate<T> implementation.
virtual void resolve(const T&... result) override;
virtual void reject(MediaKeys::Exception exception_code,
- uint32 system_code,
+ uint32_t system_code,
const std::string& error_message) override;
private:

Powered by Google App Engine
This is Rietveld 408576698