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_TASKS_H_ |
| 6 #define IOS_CHROME_APP_STARTUP_TASKS_H_ |
| 7 |
| 8 #import <Foundation/Foundation.h> |
| 9 |
| 10 namespace ios { |
| 11 class ChromeBrowserState; |
| 12 } // namespace ios. |
| 13 |
| 14 // Class handling all startup tasks. |
| 15 @interface StartupTasks : NSObject |
| 16 |
| 17 // Asynchronously finishes the browser state initialization by scheduling |
| 18 // |performDeferredInitializationForBrowserState:|. |
| 19 - (void)scheduleDeferredBrowserStateInitialization: |
| 20 (ios::ChromeBrowserState*)browserState; |
| 21 // Starts Omaha and, if first run, sets install time. For official builds only. |
| 22 - (void)initializeOmaha; |
| 23 // Registers to receive UIApplicationWillResignActiveNotification. |
| 24 - (void)registerForApplicationWillResignActiveNotification; |
| 25 |
| 26 @end |
| 27 |
| 28 #endif // IOS_CHROME_APP_STARTUP_TASKS_H_ |
OLD | NEW |