Index: ios/chrome/app/application_delegate/fake_startup_information.mm |
diff --git a/ios/chrome/app/application_delegate/fake_startup_information.mm b/ios/chrome/app/application_delegate/fake_startup_information.mm |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2374800cf522c9b385265ba11119d364e583c173 |
--- /dev/null |
+++ b/ios/chrome/app/application_delegate/fake_startup_information.mm |
@@ -0,0 +1,65 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "ios/chrome/app/application_delegate/fake_startup_information.h" |
+ |
+#import "base/mac/scoped_nsobject.h" |
+#include "base/time/time.h" |
+#include "ios/chrome/browser/app_startup_parameters.h" |
+ |
+@interface FakeStartupInformation () { |
+ base::scoped_nsobject<AppStartupParameters> _startupParameters; |
+} |
+ |
+@end |
+ |
+@implementation FakeStartupInformation |
+ |
+@synthesize appLaunchTime = _appLaunchTime; |
+@synthesize isPresentingFirstRunUI = _isPresentingFirstRunUI; |
+@synthesize isColdStart = _isColdStart; |
+ |
+- (AppStartupParameters*)startupParameters { |
+ return _startupParameters; |
+} |
+ |
+- (void)setStartupParameters:(AppStartupParameters*)startupParameters { |
+ _startupParameters.reset([startupParameters retain]); |
+} |
+ |
+- (FirstUserActionRecorder*)firstUserActionRecorder { |
+ // Stub. |
+ return nil; |
+} |
+ |
+- (void)resetFirstUserActionRecorder { |
+ // Stub. |
+} |
+ |
+- (void)expireFirstUserActionRecorderAfterDelay:(NSTimeInterval)delay { |
+ // Stub. |
+} |
+ |
+- (void)activateFirstUserActionRecorderWithBackgroundTime: |
+ (NSTimeInterval)backgroundTime { |
+ // Stub. |
+} |
+ |
+- (void)expireFirstUserActionRecorder { |
+ // Stub. |
+} |
+ |
+- (void)launchFromURLHandled:(BOOL)URLHandled { |
+ // Stub. |
+} |
+ |
+- (void)stopChromeMain { |
+ // Stub. |
+} |
+ |
+- (void)startChromeMain { |
+ // Stub. |
+} |
+ |
+@end |