OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_SERVICE_SERVICE_IPC_SERVER_H_ | 5 #ifndef CHROME_SERVICE_SERVICE_IPC_SERVER_H_ |
6 #define CHROME_SERVICE_SERVICE_IPC_SERVER_H_ | 6 #define CHROME_SERVICE_SERVICE_IPC_SERVER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/scoped_vector.h" | 14 #include "base/memory/scoped_vector.h" |
15 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
16 #include "ipc/ipc_channel_handle.h" | |
17 #include "ipc/ipc_listener.h" | 16 #include "ipc/ipc_listener.h" |
18 #include "ipc/ipc_sender.h" | 17 #include "ipc/ipc_sender.h" |
19 #include "ipc/ipc_sync_channel.h" | 18 #include "ipc/ipc_sync_channel.h" |
20 #include "mojo/public/cpp/system/message_pipe.h" | 19 #include "mojo/public/cpp/system/message_pipe.h" |
21 | 20 |
22 namespace base { | 21 namespace base { |
23 | 22 |
24 class HistogramDeltaSerialization; | 23 class HistogramDeltaSerialization; |
25 class WaitableEvent; | 24 class WaitableEvent; |
26 | 25 |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 bool ipc_client_connected_ = false; | 99 bool ipc_client_connected_ = false; |
101 | 100 |
102 // Calculates histograms deltas. | 101 // Calculates histograms deltas. |
103 std::unique_ptr<base::HistogramDeltaSerialization> | 102 std::unique_ptr<base::HistogramDeltaSerialization> |
104 histogram_delta_serializer_; | 103 histogram_delta_serializer_; |
105 | 104 |
106 DISALLOW_COPY_AND_ASSIGN(ServiceIPCServer); | 105 DISALLOW_COPY_AND_ASSIGN(ServiceIPCServer); |
107 }; | 106 }; |
108 | 107 |
109 #endif // CHROME_SERVICE_SERVICE_IPC_SERVER_H_ | 108 #endif // CHROME_SERVICE_SERVICE_IPC_SERVER_H_ |
OLD | NEW |