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

Unified Diff: chromeos/dbus/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/peer_daemon_manager_client.cc ('k') | chromeos/dbus/permission_broker_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/permission_broker_client.h
diff --git a/chromeos/dbus/permission_broker_client.h b/chromeos/dbus/permission_broker_client.h
index dd5eccaf7ed3a2cebe42569ca50a78939ccdb89f..87c24c878562fbea9246a0e274d988e0ea81273e 100644
--- a/chromeos/dbus/permission_broker_client.h
+++ b/chromeos/dbus/permission_broker_client.h
@@ -5,10 +5,12 @@
#ifndef CHROMEOS_DBUS_PERMISSION_BROKER_CLIENT_H_
#define CHROMEOS_DBUS_PERMISSION_BROKER_CLIENT_H_
+#include <stdint.h>
+
#include <string>
-#include "base/basictypes.h"
#include "base/callback.h"
+#include "base/macros.h"
#include "chromeos/chromeos_export.h"
#include "chromeos/dbus/dbus_client.h"
#include "dbus/file_descriptor.h"
@@ -62,7 +64,7 @@ class CHROMEOS_EXPORT PermissionBrokerClient : public DBusClient {
// connections received on |interface| (an empty string indicates all
// interfaces). An open pipe must be passed as |lifeline_fd| so that the
// permission broker can monitor the lifetime of the calling process.
- virtual void RequestTcpPortAccess(uint16 port,
+ virtual void RequestTcpPortAccess(uint16_t port,
const std::string& interface,
const dbus::FileDescriptor& lifeline_fd,
const ResultCallback& callback) = 0;
@@ -71,7 +73,7 @@ class CHROMEOS_EXPORT PermissionBrokerClient : public DBusClient {
// received on |interface| (an empty string indicates all interfaces). An open
// pipe must be passed as |lifeline_fd| so that the permission broker can
// monitor the lifetime of the calling process.
- virtual void RequestUdpPortAccess(uint16 port,
+ virtual void RequestUdpPortAccess(uint16_t port,
const std::string& interface,
const dbus::FileDescriptor& lifeline_fd,
const ResultCallback& callback) = 0;
@@ -79,14 +81,14 @@ class CHROMEOS_EXPORT PermissionBrokerClient : public DBusClient {
// Releases a request for an open firewall port for TCP/IP connections. The
// |port| and |interface| parameters must be the same as a previous call to
// RequestTcpPortAccess.
- virtual void ReleaseTcpPort(uint16 port,
+ virtual void ReleaseTcpPort(uint16_t port,
const std::string& interface,
const ResultCallback& callback) = 0;
// Releases a request for an open firewall port for UDP packets. The |port|
// and |interface| parameters must be the same as a previous call to
// RequestUdpPortAccess.
- virtual void ReleaseUdpPort(uint16 port,
+ virtual void ReleaseUdpPort(uint16_t port,
const std::string& interface,
const ResultCallback& callback) = 0;
« no previous file with comments | « chromeos/dbus/peer_daemon_manager_client.cc ('k') | chromeos/dbus/permission_broker_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698