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

Unified Diff: chrome/common/ipc_sync_channel.h

Issue 39206: NO CODE CHANGE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/ipc_message_macros.h ('k') | chrome/common/ipc_sync_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/ipc_sync_channel.h
===================================================================
--- chrome/common/ipc_sync_channel.h (revision 10992)
+++ chrome/common/ipc_sync_channel.h (working copy)
@@ -79,8 +79,8 @@
void DispatchMessages();
// Checks if the given message is blocking the listener thread because of a
- // synchronous send. If it is, the thread is unblocked and true is returned.
- // Otherwise the function returns false.
+ // synchronous send. If it is, the thread is unblocked and true is
+ // returned. Otherwise the function returns false.
bool TryToUnblockListener(const Message* msg);
// Called on the IPC thread when a sync send that runs a nested message loop
@@ -107,8 +107,8 @@
// WaitableEventWatcher::Delegate implementation.
virtual void OnWaitableEventSignaled(base::WaitableEvent* arg);
- // When sending a synchronous message, this structure contains an object that
- // knows how to deserialize the response.
+ // When sending a synchronous message, this structure contains an object
+ // that knows how to deserialize the response.
struct PendingSyncMsg {
PendingSyncMsg(int id, IPC::MessageReplyDeserializer* d,
base::WaitableEvent* e) :
@@ -133,7 +133,9 @@
// WaitableEventWatcher::Delegate implementation.
virtual void OnWaitableEventSignaled(base::WaitableEvent* arg);
- SyncContext* sync_context() { return reinterpret_cast<SyncContext*>(context()); }
+ SyncContext* sync_context() {
+ return reinterpret_cast<SyncContext*>(context());
+ }
// Both these functions wait for a reply, timeout or process shutdown. The
// latter one also runs a nested message loop in the meantime.
« no previous file with comments | « chrome/common/ipc_message_macros.h ('k') | chrome/common/ipc_sync_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698