OLD | NEW |
(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 IOS_CHROME_APP_STARTUP_CHROME_MAIN_STARTER_H_ |
| 6 #define IOS_CHROME_APP_STARTUP_CHROME_MAIN_STARTER_H_ |
| 7 |
| 8 #include <memory> |
| 9 |
| 10 #import <UIKit/UIKit.h> |
| 11 |
| 12 class IOSChromeMain; |
| 13 |
| 14 @interface ChromeMainStarter : NSObject |
| 15 |
| 16 // Setup and initialization that is needed by common Chrome code. This should be |
| 17 // called only once during app startup (or shortly after launch). Returns the |
| 18 // object that drives startup/shutdown logic. |
| 19 + (std::unique_ptr<IOSChromeMain>)startChromeMain; |
| 20 |
| 21 @end |
| 22 #endif // IOS_CHROME_APP_STARTUP_CHROME_MAIN_STARTER_H_ |
OLD | NEW |