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

Side by Side Diff: chrome/common/ipc_logging.h

Issue 16554: WaitableEvent (Closed)
Patch Set: Addresssing darin's comments (round 2) Created 11 years, 11 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 | « chrome/common/common.scons ('k') | chrome/common/ipc_message.h » ('j') | 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_COMMON_IPC_LOGGING_H_ 5 #ifndef CHROME_COMMON_IPC_LOGGING_H_
6 #define CHROME_COMMON_IPC_LOGGING_H_ 6 #define CHROME_COMMON_IPC_LOGGING_H_
7 7
8 #include "chrome/common/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED.
9
10 #ifdef IPC_MESSAGE_LOG_ENABLED
11
8 #include "base/lock.h" 12 #include "base/lock.h"
9 #include "base/object_watcher.h" 13 #include "base/object_watcher.h"
10 #include "base/singleton.h" 14 #include "base/singleton.h"
11 #include "chrome/common/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED.
12
13 #ifdef IPC_MESSAGE_LOG_ENABLED
14 15
15 class MessageLoop; 16 class MessageLoop;
16 17
17 namespace IPC { 18 namespace IPC {
18 19
19 class Message; 20 class Message;
20 21
21 // One instance per process. Needs to be created on the main thread (the UI 22 // One instance per process. Needs to be created on the main thread (the UI
22 // thread in the browser) but OnPreDispatchMessage/OnPostDispatchMessage 23 // thread in the browser) but OnPreDispatchMessage/OnPostDispatchMessage
23 // can be called on other threads. 24 // can be called on other threads.
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 90
90 Consumer* consumer_; 91 Consumer* consumer_;
91 }; 92 };
92 93
93 } // namespace IPC 94 } // namespace IPC
94 95
95 #endif // IPC_MESSAGE_LOG_ENABLED 96 #endif // IPC_MESSAGE_LOG_ENABLED
96 97
97 #endif // CHROME_COMMON_IPC_LOGGING_H_ 98 #endif // CHROME_COMMON_IPC_LOGGING_H_
98 99
OLDNEW
« no previous file with comments | « chrome/common/common.scons ('k') | chrome/common/ipc_message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698