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 // ====== New Architecture ===== | 5 // ====== New Architecture ===== |
6 // = This code is only used in the new iOS Chrome architecture. = | 6 // = This code is only used in the new iOS Chrome architecture. = |
7 // ============================================================================ | 7 // ============================================================================ |
8 | 8 |
9 #ifndef IOS_CHROME_APP_STEPS_LAUNCH_TO_BACKGROUND_H_ | 9 #ifndef IOS_CLEAN_CHROME_APP_STEPS_LAUNCH_TO_BACKGROUND_H_ |
10 #define IOS_CHROME_APP_STEPS_LAUNCH_TO_BACKGROUND_H_ | 10 #define IOS_CLEAN_CHROME_APP_STEPS_LAUNCH_TO_BACKGROUND_H_ |
11 | 11 |
12 #import <Foundation/Foundation.h> | 12 #import <Foundation/Foundation.h> |
13 | 13 |
14 #include "ios/chrome/app/application_step.h" | 14 #import "ios/clean/chrome/app/application_step.h" |
15 | 15 |
16 // This file includes ApplicationStep objects that perform the steps that bring | 16 // This file includes ApplicationStep objects that perform the steps that bring |
17 // the application up to the background phase of launching. | 17 // the application up to the background phase of launching. |
18 | 18 |
19 // Sets up the user defaults and application bundle. | 19 // Sets up the user defaults and application bundle. |
20 // Pre: Application phase is APPLICATION_BASIC. | 20 // Pre: Application phase is APPLICATION_BASIC. |
21 // Post: Application phase is (still) APPLICATION_BASIC. | 21 // Post: Application phase is (still) APPLICATION_BASIC. |
22 @interface SetupBundleAndUserDefaults : NSObject<ApplicationStep> | 22 @interface SetupBundleAndUserDefaults : NSObject<ApplicationStep> |
23 @end | 23 @end |
24 | 24 |
25 // Starts the ChromeMain object and sets the global WebClient object. | 25 // Starts the ChromeMain object and sets the global WebClient object. |
26 // Pre: Application phase is APPLICATION_BASIC. | 26 // Pre: Application phase is APPLICATION_BASIC. |
27 // Post: Application phase is APPLICATION_BACKGROUNDED. | 27 // Post: Application phase is APPLICATION_BACKGROUNDED. |
28 @interface StartChromeMain : NSObject<ApplicationStep> | 28 @interface StartChromeMain : NSObject<ApplicationStep> |
29 @end | 29 @end |
30 | 30 |
31 // Sets the browserState property in the ApplicationState. | 31 // Sets the browserState property in the ApplicationState. |
32 // Pre: Application phase is APPLICATION_BACKGROUNDED and a browser state | 32 // Pre: Application phase is APPLICATION_BACKGROUNDED and a browser state |
33 // manager is available. | 33 // manager is available. |
34 // Post: Application phase is (still) APPLICATION_BACKGROUNDED. | 34 // Post: Application phase is (still) APPLICATION_BACKGROUNDED. |
35 @interface SetBrowserState : NSObject<ApplicationStep> | 35 @interface SetBrowserState : NSObject<ApplicationStep> |
36 @end | 36 @end |
37 | 37 |
38 #endif // IOS_CHROME_APP_STEPS_LAUNCH_TO_BACKGROUND_H_ | 38 #endif // IOS_CLEAN_CHROME_APP_STEPS_LAUNCH_TO_BACKGROUND_H_ |
OLD | NEW |