| 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 <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 void OnUpdateAvailable(); | 67 void OnUpdateAvailable(); |
| 68 | 68 |
| 69 // Helper method to create the sync channel. | 69 // Helper method to create the sync channel. |
| 70 void CreateChannel(); | 70 void CreateChannel(); |
| 71 | 71 |
| 72 IPC::ChannelHandle channel_handle_; | 72 IPC::ChannelHandle channel_handle_; |
| 73 scoped_ptr<IPC::SyncChannel> channel_; | 73 scoped_ptr<IPC::SyncChannel> channel_; |
| 74 // Indicates whether a client is currently connected to the channel. | 74 // Indicates whether a client is currently connected to the channel. |
| 75 bool client_connected_; | 75 bool client_connected_; |
| 76 | 76 |
| 77 scoped_ptr<IPC::AttachmentBroker> attachment_broker_; |
| 78 |
| 77 // Allows threads other than the main thread to send sync messages. | 79 // Allows threads other than the main thread to send sync messages. |
| 78 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; | 80 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; |
| 79 | 81 |
| 80 // Calculates histograms deltas. | 82 // Calculates histograms deltas. |
| 81 scoped_ptr<base::HistogramDeltaSerialization> histogram_delta_serializer_; | 83 scoped_ptr<base::HistogramDeltaSerialization> histogram_delta_serializer_; |
| 82 | 84 |
| 83 DISALLOW_COPY_AND_ASSIGN(ServiceIPCServer); | 85 DISALLOW_COPY_AND_ASSIGN(ServiceIPCServer); |
| 84 }; | 86 }; |
| 85 | 87 |
| 86 #endif // CHROME_SERVICE_SERVICE_IPC_SERVER_H_ | 88 #endif // CHROME_SERVICE_SERVICE_IPC_SERVER_H_ |
| OLD | NEW |