| 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 IPC_IPC_CHANNEL_WIN_H_ | 5 #ifndef IPC_IPC_CHANNEL_WIN_H_ |
| 6 #define IPC_IPC_CHANNEL_WIN_H_ | 6 #define IPC_IPC_CHANNEL_WIN_H_ |
| 7 | 7 |
| 8 #include "ipc/ipc_channel.h" | 8 #include "ipc/ipc_channel.h" |
| 9 | 9 |
| 10 #include <queue> | 10 #include <queue> |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 | 99 |
| 100 // Tracks the lifetime of this object, for debugging purposes. | 100 // Tracks the lifetime of this object, for debugging purposes. |
| 101 int32 debug_flags_; | 101 int32 debug_flags_; |
| 102 | 102 |
| 103 // This is a unique per-channel value used to authenticate the client end of | 103 // This is a unique per-channel value used to authenticate the client end of |
| 104 // a connection. If the value is non-zero, the client passes it in the hello | 104 // a connection. If the value is non-zero, the client passes it in the hello |
| 105 // and the host validates. (We don't send the zero value fto preserve IPC | 105 // and the host validates. (We don't send the zero value fto preserve IPC |
| 106 // compatability with existing clients that don't validate the channel.) | 106 // compatability with existing clients that don't validate the channel.) |
| 107 int32 client_secret_; | 107 int32 client_secret_; |
| 108 | 108 |
| 109 | 109 scoped_ptr<base::ThreadChecker> thread_check_; |
| 110 base::WeakPtrFactory<ChannelWin> weak_factory_; | 110 base::WeakPtrFactory<ChannelWin> weak_factory_; |
| 111 | 111 |
| 112 scoped_ptr<base::ThreadChecker> thread_check_; | |
| 113 | |
| 114 DISALLOW_COPY_AND_ASSIGN(ChannelWin); | 112 DISALLOW_COPY_AND_ASSIGN(ChannelWin); |
| 115 }; | 113 }; |
| 116 | 114 |
| 117 } // namespace IPC | 115 } // namespace IPC |
| 118 | 116 |
| 119 #endif // IPC_IPC_CHANNEL_WIN_H_ | 117 #endif // IPC_IPC_CHANNEL_WIN_H_ |
| OLD | NEW |