| 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 #import "ios/chrome/app/app_delegate.h" | 9 #import "ios/chrome/app/app_delegate.h" |
| 10 | 10 |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 // the header file. The correct solution is probably a helper object that can | 104 // the header file. The correct solution is probably a helper object that can |
| 105 // perform all of the configuration necessary, and that can be adjusted as | 105 // perform all of the configuration necessary, and that can be adjusted as |
| 106 // needed. | 106 // needed. |
| 107 - (void)configureApplicationState { | 107 - (void)configureApplicationState { |
| 108 [self.applicationState.launchSteps addObjectsFromArray:@[ | 108 [self.applicationState.launchSteps addObjectsFromArray:@[ |
| 109 [[ProviderInitializer alloc] init], | 109 [[ProviderInitializer alloc] init], |
| 110 [[SetupBundleAndUserDefaults alloc] init], | 110 [[SetupBundleAndUserDefaults alloc] init], |
| 111 [[StartChromeMain alloc] init], | 111 [[StartChromeMain alloc] init], |
| 112 [[SetBrowserState alloc] init], | 112 [[SetBrowserState alloc] init], |
| 113 [[BeginForegrounding alloc] init], | 113 [[BeginForegrounding alloc] init], |
| 114 [[BrowserStateInitializer alloc] init], | |
| 115 [[PrepareForUI alloc] init], | 114 [[PrepareForUI alloc] init], |
| 116 [[CompleteForegrounding alloc] init], | 115 [[CompleteForegrounding alloc] init], |
| 117 [[TabGridCoordinator alloc] init], | 116 [[TabGridCoordinator alloc] init], |
| 118 ]]; | 117 ]]; |
| 119 } | 118 } |
| 120 | 119 |
| 121 @end | 120 @end |
| OLD | NEW |