OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chromeos/network/firewall_hole.h" | 5 #include "chromeos/network/firewall_hole.h" |
6 | 6 |
7 #include <fcntl.h> | 7 #include <fcntl.h> |
| 8 #include <stdint.h> |
8 #include <unistd.h> | 9 #include <unistd.h> |
9 | 10 |
10 #include "base/bind.h" | 11 #include "base/bind.h" |
11 #include "base/location.h" | 12 #include "base/location.h" |
12 #include "base/threading/worker_pool.h" | 13 #include "base/threading/worker_pool.h" |
13 #include "chromeos/dbus/dbus_thread_manager.h" | 14 #include "chromeos/dbus/dbus_thread_manager.h" |
14 #include "chromeos/dbus/permission_broker_client.h" | 15 #include "chromeos/dbus/permission_broker_client.h" |
15 #include "dbus/file_descriptor.h" | 16 #include "dbus/file_descriptor.h" |
16 | 17 |
17 namespace chromeos { | 18 namespace chromeos { |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 uint16_t port, | 149 uint16_t port, |
149 const std::string& interface, | 150 const std::string& interface, |
150 dbus::ScopedFileDescriptor lifeline_fd) | 151 dbus::ScopedFileDescriptor lifeline_fd) |
151 : type_(type), | 152 : type_(type), |
152 port_(port), | 153 port_(port), |
153 interface_(interface), | 154 interface_(interface), |
154 lifeline_fd_(lifeline_fd.Pass()) { | 155 lifeline_fd_(lifeline_fd.Pass()) { |
155 } | 156 } |
156 | 157 |
157 } // namespace chromeos | 158 } // namespace chromeos |
OLD | NEW |