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_APPLICATION_DELEGATE_APP_STATE_TESTING_H_ |
| 6 #define IOS_CHROME_APP_APPLICATION_DELEGATE_APP_STATE_TESTING_H_ |
| 7 |
| 8 #import "ios/chrome/app/application_delegate/app_state.h" |
| 9 |
| 10 @class SafeModeCoordinator; |
| 11 |
| 12 // Exposes methods for testing. |
| 13 @interface AppState (Testing) |
| 14 |
| 15 @property(nonatomic, retain) SafeModeCoordinator* safeModeCoordinator; |
| 16 |
| 17 - (instancetype) |
| 18 initWithBrowserLauncher:(id<BrowserLauncher>)browserLauncher |
| 19 startupInformation:(id<StartupInformation>)startupInformation |
| 20 applicationDelegate:(MainApplicationDelegate*)applicationDelegate |
| 21 window:(UIWindow*)window |
| 22 shouldOpenNTP:(BOOL)shouldOpenNTP; |
| 23 |
| 24 - (void)disableReporting; |
| 25 |
| 26 @end |
| 27 |
| 28 #endif // IOS_CHROME_APP_APPLICATION_DELEGATE_APP_STATE_TESTING_H_ |
OLD | NEW |