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

Side by Side Diff: ipc/ipc_channel_win.h

Issue 427693004: IPC: Add more debug logic (crash tracking) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | ipc/ipc_channel_win.cc » ('j') | ipc/ipc_channel_win.cc » ('J')
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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 bool waiting_connect_; 85 bool waiting_connect_;
86 86
87 // This flag is set when processing incoming messages. It is used to 87 // This flag is set when processing incoming messages. It is used to
88 // avoid recursing through ProcessIncomingMessages, which could cause 88 // avoid recursing through ProcessIncomingMessages, which could cause
89 // problems. TODO(darin): make this unnecessary 89 // problems. TODO(darin): make this unnecessary
90 bool processing_incoming_; 90 bool processing_incoming_;
91 91
92 // Determines if we should validate a client's secret on connection. 92 // Determines if we should validate a client's secret on connection.
93 bool validate_client_; 93 bool validate_client_;
94 94
95 // True if there is a write in progress. TODO(rvargas): remove this.
96 bool writing_;
97
95 // Tracks the lifetime of this object, for debugging purposes. 98 // Tracks the lifetime of this object, for debugging purposes.
96 int32 debug_flags_; 99 int32 debug_flags_;
97 100
98 // This is a unique per-channel value used to authenticate the client end of 101 // This is a unique per-channel value used to authenticate the client end of
99 // a connection. If the value is non-zero, the client passes it in the hello 102 // a connection. If the value is non-zero, the client passes it in the hello
100 // and the host validates. (We don't send the zero value fto preserve IPC 103 // and the host validates. (We don't send the zero value fto preserve IPC
101 // compatability with existing clients that don't validate the channel.) 104 // compatability with existing clients that don't validate the channel.)
102 int32 client_secret_; 105 int32 client_secret_;
103 106
104 107
105 base::WeakPtrFactory<ChannelWin> weak_factory_; 108 base::WeakPtrFactory<ChannelWin> weak_factory_;
106 109
107 scoped_ptr<base::ThreadChecker> thread_check_; 110 scoped_ptr<base::ThreadChecker> thread_check_;
108 111
109 DISALLOW_COPY_AND_ASSIGN(ChannelWin); 112 DISALLOW_COPY_AND_ASSIGN(ChannelWin);
110 }; 113 };
111 114
112 } // namespace IPC 115 } // namespace IPC
113 116
114 #endif // IPC_IPC_CHANNEL_WIN_H_ 117 #endif // IPC_IPC_CHANNEL_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | ipc/ipc_channel_win.cc » ('j') | ipc/ipc_channel_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698