Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Side by Side Diff: chrome/installer/mac/app/MainDelegate.h

Issue 2148293005: Migrate mac installer to delegate-driven model (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed the rest of Sidney's comments Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_INSTALLER_MAC_APP_MAINDELEGATE_H_
6 #define CHROME_INSTALLER_MAC_APP_MAINDELEGATE_H_
7
8 #import <Cocoa/Cocoa.h>
9
10 @protocol OmahaDelegate
11 - (void)talkToOmaha;
12 @end
Sidney San Martín 2016/07/19 23:19:20 main.m knows that it's dealing with an instance of
13
14 @protocol DownloadDelegate
15 - (void)downloadChromeWithData:(NSData*)data;
16 @end
Sidney San Martín 2016/07/19 23:19:20 In an app like this, delegate protocols are meant
Anna Zeng 2016/07/21 18:06:44 Let's talk about this in real time too!
17
18 @protocol UnpackDelegate
19 - (void)unpackDMG;
20 @end
Sidney San Martín 2016/07/19 23:19:20 Same thing here.
21
22 @interface MainDelegate
23 : NSObject<OmahaDelegate, DownloadDelegate, UnpackDelegate>
24
25 @end
26
27 #endif // CHROME_INSTALLER_MAC_APP_MAINDELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698