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

Unified Diff: chromeos/dbus/fake_permission_broker_client.cc

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/fake_permission_broker_client.h ('k') | chromeos/dbus/fake_power_manager_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/fake_permission_broker_client.cc
diff --git a/chromeos/dbus/fake_permission_broker_client.cc b/chromeos/dbus/fake_permission_broker_client.cc
index e011366a7ef5008353434ce9345ff247a4c2ca8e..ace347941979eae1fbe955f12a8ee227c21ebe61 100644
--- a/chromeos/dbus/fake_permission_broker_client.cc
+++ b/chromeos/dbus/fake_permission_broker_client.cc
@@ -5,6 +5,7 @@
#include "chromeos/dbus/fake_permission_broker_client.h"
#include <fcntl.h>
+#include <stdint.h>
#include "base/bind.h"
#include "base/callback.h"
@@ -69,7 +70,7 @@ void FakePermissionBrokerClient::OpenPath(const std::string& path,
}
void FakePermissionBrokerClient::RequestTcpPortAccess(
- uint16 port,
+ uint16_t port,
const std::string& interface,
const dbus::FileDescriptor& lifeline_fd,
const ResultCallback& callback) {
@@ -78,7 +79,7 @@ void FakePermissionBrokerClient::RequestTcpPortAccess(
}
void FakePermissionBrokerClient::RequestUdpPortAccess(
- uint16 port,
+ uint16_t port,
const std::string& interface,
const dbus::FileDescriptor& lifeline_fd,
const ResultCallback& callback) {
@@ -87,14 +88,14 @@ void FakePermissionBrokerClient::RequestUdpPortAccess(
}
void FakePermissionBrokerClient::ReleaseTcpPort(
- uint16 port,
+ uint16_t port,
const std::string& interface,
const ResultCallback& callback) {
callback.Run(true);
}
void FakePermissionBrokerClient::ReleaseUdpPort(
- uint16 port,
+ uint16_t port,
const std::string& interface,
const ResultCallback& callback) {
callback.Run(true);
« no previous file with comments | « chromeos/dbus/fake_permission_broker_client.h ('k') | chromeos/dbus/fake_power_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698