| 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 #ifndef IPC_ATTACHMENT_BROKER_PRIVILEGED_H_ | 5 #ifndef IPC_ATTACHMENT_BROKER_PRIVILEGED_H_ |
| 6 #define IPC_ATTACHMENT_BROKER_PRIVILEGED_H_ | 6 #define IPC_ATTACHMENT_BROKER_PRIVILEGED_H_ |
| 7 | 7 |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/single_thread_task_runner.h" |
| 13 #include "build/build_config.h" | 14 #include "build/build_config.h" |
| 14 #include "ipc/attachment_broker.h" | 15 #include "ipc/attachment_broker.h" |
| 15 #include "ipc/ipc_export.h" | 16 #include "ipc/ipc_export.h" |
| 16 | 17 |
| 17 #if defined(OS_MACOSX) && !defined(OS_IOS) | 18 #if defined(OS_MACOSX) && !defined(OS_IOS) |
| 18 namespace base { | 19 namespace base { |
| 19 class PortProvider; | 20 class PortProvider; |
| 20 } // namespace base | 21 } // namespace base |
| 21 #endif // defined(OS_MACOSX) && !defined(OS_IOS) | 22 #endif // defined(OS_MACOSX) && !defined(OS_IOS) |
| 22 | 23 |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 private: | 122 private: |
| 122 // A vector of Endpoints, and the SingleThreadTaskRunner that should be used | 123 // A vector of Endpoints, and the SingleThreadTaskRunner that should be used |
| 123 // to invoke Send() on each Endpoint. | 124 // to invoke Send() on each Endpoint. |
| 124 std::vector<EndpointRunnerPair> endpoints_; | 125 std::vector<EndpointRunnerPair> endpoints_; |
| 125 DISALLOW_COPY_AND_ASSIGN(AttachmentBrokerPrivileged); | 126 DISALLOW_COPY_AND_ASSIGN(AttachmentBrokerPrivileged); |
| 126 }; | 127 }; |
| 127 | 128 |
| 128 } // namespace IPC | 129 } // namespace IPC |
| 129 | 130 |
| 130 #endif // IPC_ATTACHMENT_BROKER_PRIVILEGED_H_ | 131 #endif // IPC_ATTACHMENT_BROKER_PRIVILEGED_H_ |
| OLD | NEW |