| 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_EXTERNAL_PROTOCOL_DIALOG_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_EXTERNAL_PROTOCOL_DIALOG_H_ |
| 7 |
| 5 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 6 | 9 |
| 7 #include "base/time/time.h" | 10 #include "base/time/time.h" |
| 8 #include "url/gurl.h" | 11 #include "url/gurl.h" |
| 9 | 12 |
| 10 @interface ExternalProtocolDialogController : NSObject { | 13 @interface ExternalProtocolDialogController : NSObject { |
| 11 @private | 14 @private |
| 12 NSAlert* alert_; | 15 NSAlert* alert_; |
| 13 GURL url_; | 16 GURL url_; |
| 14 int render_process_host_id_; | 17 int render_process_host_id_; |
| 15 int routing_id_; | 18 int routing_id_; |
| 16 base::Time creation_time_; | 19 base::Time creation_time_; |
| 17 }; | 20 }; |
| 18 | 21 |
| 19 - (id)initWithGURL:(const GURL*)url | 22 - (id)initWithGURL:(const GURL*)url |
| 20 renderProcessHostId:(int)renderProcessHostId | 23 renderProcessHostId:(int)renderProcessHostId |
| 21 routingId:(int)routingId; | 24 routingId:(int)routingId; |
| 22 | 25 |
| 23 @end | 26 @end |
| 27 |
| 28 #endif // CHROME_BROWSER_UI_COCOA_EXTERNAL_PROTOCOL_DIALOG_H_ |
| OLD | NEW |