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 #include "ios/chrome/app/application_delegate/fake_startup_information.h" |
| 6 |
| 7 #import "base/mac/scoped_nsobject.h" |
| 8 #include "base/time/time.h" |
| 9 #include "ios/chrome/browser/app_startup_parameters.h" |
| 10 |
| 11 @interface FakeStartupInformation () { |
| 12 base::scoped_nsobject<AppStartupParameters> _startupParameters; |
| 13 } |
| 14 |
| 15 @end |
| 16 |
| 17 @implementation FakeStartupInformation |
| 18 |
| 19 @synthesize appLaunchTime = _appLaunchTime; |
| 20 @synthesize isPresentingFirstRunUI = _isPresentingFirstRunUI; |
| 21 @synthesize isColdStart = _isColdStart; |
| 22 |
| 23 - (AppStartupParameters*)startupParameters { |
| 24 return _startupParameters; |
| 25 } |
| 26 |
| 27 - (void)setStartupParameters:(AppStartupParameters*)startupParameters { |
| 28 _startupParameters.reset([startupParameters retain]); |
| 29 } |
| 30 |
| 31 - (FirstUserActionRecorder*)firstUserActionRecorder { |
| 32 // Stub. |
| 33 return nil; |
| 34 } |
| 35 |
| 36 - (void)resetFirstUserActionRecorder { |
| 37 // Stub. |
| 38 } |
| 39 |
| 40 - (void)expireFirstUserActionRecorderAfterDelay:(NSTimeInterval)delay { |
| 41 // Stub. |
| 42 } |
| 43 |
| 44 - (void)activateFirstUserActionRecorderWithBackgroundTime: |
| 45 (NSTimeInterval)backgroundTime { |
| 46 // Stub. |
| 47 } |
| 48 |
| 49 - (void)expireFirstUserActionRecorder { |
| 50 // Stub. |
| 51 } |
| 52 |
| 53 - (void)launchFromURLHandled:(BOOL)URLHandled { |
| 54 // Stub. |
| 55 } |
| 56 |
| 57 - (void)stopChromeMain { |
| 58 // Stub. |
| 59 } |
| 60 |
| 61 - (void)startChromeMain { |
| 62 // Stub. |
| 63 } |
| 64 |
| 65 @end |
OLD | NEW |