OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BROWSER_UI_COCOA_ABOUT_IPC_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_ABOUT_IPC_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_COCOA_ABOUT_IPC_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_ABOUT_IPC_CONTROLLER_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "ipc/ipc_logging.h" | 11 #include "ipc/ipc_logging.h" |
12 #include "ipc/ipc_message_utils.h" | 12 #include "ipc/ipc_message_utils.h" |
13 #include "third_party/GTM/Foundation/GTMRegex.h" | 13 #include "third_party/google_toolbox_for_mac/src/Foundation/GTMRegex.h" |
14 | 14 |
15 // Must be included after IPC_MESSAGE_LOG_ENABLED gets defined | 15 // Must be included after IPC_MESSAGE_LOG_ENABLED gets defined |
16 #import "chrome/browser/ui/cocoa/about_ipc_dialog.h" | 16 #import "chrome/browser/ui/cocoa/about_ipc_dialog.h" |
17 | 17 |
18 #if defined(IPC_MESSAGE_LOG_ENABLED) | 18 #if defined(IPC_MESSAGE_LOG_ENABLED) |
19 | 19 |
20 // An objc wrapper for IPC::LogData to allow use of Cocoa bindings. | 20 // An objc wrapper for IPC::LogData to allow use of Cocoa bindings. |
21 @interface CocoaLogData : NSObject { | 21 @interface CocoaLogData : NSObject { |
22 @private | 22 @private |
23 IPC::LogData data_; | 23 IPC::LogData data_; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 74 |
75 @end | 75 @end |
76 | 76 |
77 @interface AboutIPCController(TestingAPI) | 77 @interface AboutIPCController(TestingAPI) |
78 - (BOOL)filterOut:(CocoaLogData*)data; | 78 - (BOOL)filterOut:(CocoaLogData*)data; |
79 - (void)setDisplayViewMessages:(BOOL)display; | 79 - (void)setDisplayViewMessages:(BOOL)display; |
80 @end | 80 @end |
81 | 81 |
82 #endif // IPC_MESSAGE_LOG_ENABLED | 82 #endif // IPC_MESSAGE_LOG_ENABLED |
83 #endif // CHROME_BROWSER_UI_COCOA_ABOUT_IPC_CONTROLLER_H_ | 83 #endif // CHROME_BROWSER_UI_COCOA_ABOUT_IPC_CONTROLLER_H_ |
OLD | NEW |