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