| Index: chrome/browser/cocoa/repost_form_warning_mac.mm
|
| diff --git a/chrome/browser/cocoa/repost_form_warning_mac.mm b/chrome/browser/cocoa/repost_form_warning_mac.mm
|
| index ab63ceedcdffe493229f2f59bfe7a7c48c1408f1..0635e95a268b5e1637664f3f552da9c23926986d 100644
|
| --- a/chrome/browser/cocoa/repost_form_warning_mac.mm
|
| +++ b/chrome/browser/cocoa/repost_form_warning_mac.mm
|
| @@ -10,6 +10,17 @@
|
| #include "chrome/common/notification_service.h"
|
| #include "grit/generated_resources.h"
|
|
|
| +// The delegate of the NSAlert used to display the dialog. Forwards the alert's
|
| +// completion event to the C++ class |RepostFormWarningMac|.
|
| +@interface RepostDelegate : NSObject {
|
| + RepostFormWarningMac* warning_; // weak, owns us.
|
| +}
|
| +- (id)initWithWarning:(RepostFormWarningMac*)warning;
|
| +- (void)alertDidEnd:(NSAlert*)alert
|
| + returnCode:(int)returnCode
|
| + contextInfo:(void*)contextInfo;
|
| +@end
|
| +
|
| @implementation RepostDelegate
|
| - (id)initWithWarning:(RepostFormWarningMac*)warning {
|
| if ((self = [super init])) {
|
|
|