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

Unified Diff: chromeos/dbus/mock_permission_broker_client.h

Issue 1540803002: Switch to standard integer types in chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes 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 | « chromeos/dbus/mock_cryptohome_client.h ('k') | chromeos/dbus/modem_messaging_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/mock_permission_broker_client.h
diff --git a/chromeos/dbus/mock_permission_broker_client.h b/chromeos/dbus/mock_permission_broker_client.h
index d5c9c02ffe95de8064b94209bc8b5cc8ada29b05..9e45a97defc8ff8b9a915951d7632547bcf25ea8 100644
--- a/chromeos/dbus/mock_permission_broker_client.h
+++ b/chromeos/dbus/mock_permission_broker_client.h
@@ -5,6 +5,8 @@
#ifndef CHROMEOS_DBUS_MOCK_PERMISSION_BROKER_CLIENT_H_
#define CHROMEOS_DBUS_MOCK_PERMISSION_BROKER_CLIENT_H_
+#include <stdint.h>
+
#include "chromeos/dbus/permission_broker_client.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -29,21 +31,21 @@ class MockPermissionBrokerClient : public PermissionBrokerClient {
MOCK_METHOD2(OpenPath,
void(const std::string& path, const OpenPathCallback& callback));
MOCK_METHOD4(RequestTcpPortAccess,
- void(uint16 port,
+ void(uint16_t port,
const std::string& interface,
const dbus::FileDescriptor& lifeline_fd,
const ResultCallback& callback));
MOCK_METHOD4(RequestUdpPortAccess,
- void(uint16 port,
+ void(uint16_t port,
const std::string& interface,
const dbus::FileDescriptor& lifeline_fd,
const ResultCallback& callback));
MOCK_METHOD3(ReleaseTcpPort,
- void(uint16 port,
+ void(uint16_t port,
const std::string& interface,
const ResultCallback& callback));
MOCK_METHOD3(ReleaseUdpPort,
- void(uint16 port,
+ void(uint16_t port,
const std::string& interface,
const ResultCallback& callback));
};
« no previous file with comments | « chromeos/dbus/mock_cryptohome_client.h ('k') | chromeos/dbus/modem_messaging_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698