OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_INSTALLER_MAC_APP_MAINDELEGATE_H_ | 5 #ifndef CHROME_INSTALLER_MAC_APP_MAINDELEGATE_H_ |
6 #define CHROME_INSTALLER_MAC_APP_MAINDELEGATE_H_ | 6 #define CHROME_INSTALLER_MAC_APP_MAINDELEGATE_H_ |
7 | 7 |
8 #import <Foundation/Foundation.h> | 8 #import <Foundation/Foundation.h> |
9 | 9 |
10 #import "Downloader.h" | 10 #import "Downloader.h" |
11 #import "OmahaCommunication.h" | 11 #import "OmahaCommunication.h" |
12 | 12 #import "Unpacker.h" |
13 // TODO: move this into the unpacking file when created | |
14 @protocol UnpackDelegate | |
15 - (void)onUnpackSuccess; | |
16 @end | |
17 | 13 |
18 @interface MainDelegate | 14 @interface MainDelegate |
19 : NSObject<OmahaCommunicationDelegate, DownloaderDelegate, UnpackDelegate> | 15 : NSObject<OmahaCommunicationDelegate, DownloaderDelegate, UnpackDelegate> |
20 - (void)runApplication; | 16 - (void)runApplication; |
21 @end | 17 @end |
22 | 18 |
23 #endif // CHROME_INSTALLER_MAC_APP_MAINDELEGATE_H_ | 19 #endif // CHROME_INSTALLER_MAC_APP_MAINDELEGATE_H_ |
OLD | NEW |