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

Unified Diff: chrome/browser/media/router/media_router_mojo_impl.cc

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
Index: chrome/browser/media/router/media_router_mojo_impl.cc
diff --git a/chrome/browser/media/router/media_router_mojo_impl.cc b/chrome/browser/media/router/media_router_mojo_impl.cc
index 980babdc965f110ce6298f2c87e4eddc4e8eb03f..1e7cd2c4f02283d70aad0a022bb1995569d94a2b 100644
--- a/chrome/browser/media/router/media_router_mojo_impl.cc
+++ b/chrome/browser/media/router/media_router_mojo_impl.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/media/router/media_router_mojo_impl.h"
+#include <stddef.h>
+
#include "base/bind.h"
#include "base/guid.h"
#include "base/logging.h"
@@ -343,7 +345,7 @@ void MediaRouterMojoImpl::SendRouteMessage(
void MediaRouterMojoImpl::SendRouteBinaryMessage(
const MediaRoute::Id& route_id,
- scoped_ptr<std::vector<uint8>> data,
+ scoped_ptr<std::vector<uint8_t>> data,
const SendRouteMessageCallback& callback) {
DCHECK(thread_checker_.CalledOnValidThread());
@@ -571,10 +573,10 @@ void MediaRouterMojoImpl::DoSendSessionMessage(
void MediaRouterMojoImpl::DoSendSessionBinaryMessage(
const MediaRoute::Id& route_id,
- scoped_ptr<std::vector<uint8>> data,
+ scoped_ptr<std::vector<uint8_t>> data,
const SendRouteMessageCallback& callback) {
DVLOG_WITH_INSTANCE(1) << "SendRouteBinaryMessage " << route_id;
- mojo::Array<uint8> mojo_array;
+ mojo::Array<uint8_t> mojo_array;
mojo_array.Swap(data.get());
media_route_provider_->SendRouteBinaryMessage(route_id, mojo_array.Pass(),
callback);
« no previous file with comments | « chrome/browser/media/router/media_router_mojo_impl.h ('k') | chrome/browser/media/router/media_router_mojo_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698