Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(423)

Side by Side Diff: ios/chrome/app/application_delegate/fake_startup_information.mm

Issue 2580363002: Upstream Chrome on iOS source code [1/11]. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW
« no previous file with comments | « ios/chrome/app/application_delegate/fake_startup_information.h ('k') | ios/chrome/app/application_delegate/metrics_mediator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698