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

Unified Diff: chrome/browser/media/router/test_helper.h

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/test_helper.h
diff --git a/chrome/browser/media/router/test_helper.h b/chrome/browser/media/router/test_helper.h
index 1d24214b04fac3b77d0554b5d78fd3459fa1836a..2220beb4a2dbe078ab2cfc3472f908ad867181b4 100644
--- a/chrome/browser/media/router/test_helper.h
+++ b/chrome/browser/media/router/test_helper.h
@@ -5,9 +5,13 @@
#ifndef CHROME_BROWSER_MEDIA_ROUTER_TEST_HELPER_H_
#define CHROME_BROWSER_MEDIA_ROUTER_TEST_HELPER_H_
+#include <stddef.h>
+#include <stdint.h>
+
#include <string>
#include <vector>
+#include "base/macros.h"
#include "chrome/browser/media/router/issues_observer.h"
#include "chrome/browser/media/router/media_router.mojom.h"
#include "chrome/browser/media/router/media_router_mojo_impl.h"
@@ -107,13 +111,13 @@ class MockMediaRouteProvider : public interfaces::MediaRouteProvider {
const SendRouteMessageCallback& callback));
void SendRouteBinaryMessage(
const mojo::String& media_route_id,
- mojo::Array<uint8> data,
+ mojo::Array<uint8_t> data,
const SendRouteMessageCallback& callback) override {
SendRouteBinaryMessageInternal(media_route_id, data.storage(), callback);
}
MOCK_METHOD3(SendRouteBinaryMessageInternal,
void(const mojo::String& media_route_id,
- const std::vector<uint8>& data,
+ const std::vector<uint8_t>& data,
const SendRouteMessageCallback& callback));
MOCK_METHOD2(ListenForRouteMessages,
void(const mojo::String& route_id,
« no previous file with comments | « chrome/browser/media/router/presentation_media_sinks_observer_unittest.cc ('k') | chrome/browser/media/test_license_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698