Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: ipc/ipc_channel_win.h

Issue 1179973004: Fix win style errors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ipc/attachment_broker_win.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
99 // Tracks the lifetime of this object, for debugging purposes. 99 // Tracks the lifetime of this object, for debugging purposes.
100 uint32 debug_flags_; 100 uint32 debug_flags_;
101 101
102 // This is a unique per-channel value used to authenticate the client end of 102 // This is a unique per-channel value used to authenticate the client end of
103 // a connection. If the value is non-zero, the client passes it in the hello 103 // a connection. If the value is non-zero, the client passes it in the hello
104 // and the host validates. (We don't send the zero value fto preserve IPC 104 // and the host validates. (We don't send the zero value fto preserve IPC
105 // compatability with existing clients that don't validate the channel.) 105 // compatability with existing clients that don't validate the channel.)
106 int32 client_secret_; 106 int32 client_secret_;
107 107
108 scoped_ptr<base::ThreadChecker> thread_check_; 108 scoped_ptr<base::ThreadChecker> thread_check_;
109 base::WeakPtrFactory<ChannelWin> weak_factory_;
110 109
111 // |broker_| must outlive this instance. 110 // |broker_| must outlive this instance.
112 AttachmentBroker* broker_; 111 AttachmentBroker* broker_;
113 112
113 base::WeakPtrFactory<ChannelWin> weak_factory_;
Nico 2015/06/16 22:21:00 You'll also have to change the order in the initia
erikchen 2015/06/16 22:24:16 So you're right. Thanks!
114 DISALLOW_COPY_AND_ASSIGN(ChannelWin); 114 DISALLOW_COPY_AND_ASSIGN(ChannelWin);
115 }; 115 };
116 116
117 } // namespace IPC 117 } // namespace IPC
118 118
119 #endif // IPC_IPC_CHANNEL_WIN_H_ 119 #endif // IPC_IPC_CHANNEL_WIN_H_
OLDNEW
« no previous file with comments | « ipc/attachment_broker_win.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698