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

Side by Side Diff: ios/chrome/browser/metrics/previous_session_info.h

Issue 1984223002: Separates PreviousSessionInfo testing interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef IOS_CHROME_BROWSER_METRICS_PREVIOUS_SESSION_INFO_H_ 5 #ifndef IOS_CHROME_BROWSER_METRICS_PREVIOUS_SESSION_INFO_H_
6 #define IOS_CHROME_BROWSER_METRICS_PREVIOUS_SESSION_INFO_H_ 6 #define IOS_CHROME_BROWSER_METRICS_PREVIOUS_SESSION_INFO_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 namespace previous_session_info_constants { 10 namespace previous_session_info_constants {
(...skipping 26 matching lines...) Expand all
37 37
38 // When a session has begun, records that a memory warning was received. 38 // When a session has begun, records that a memory warning was received.
39 - (void)setMemoryWarningFlag; 39 - (void)setMemoryWarningFlag;
40 40
41 // When a session has begun, records that any memory warning flagged can be 41 // When a session has begun, records that any memory warning flagged can be
42 // ignored. 42 // ignored.
43 - (void)resetMemoryWarningFlag; 43 - (void)resetMemoryWarningFlag;
44 44
45 @end 45 @end
46 46
47 @interface PreviousSessionInfo (TestingOnly)
48 @property(nonatomic, assign) BOOL didSeeMemoryWarningShortlyBeforeTerminating;
49 + (void)resetSharedInstanceForTesting;
50 @end
51
52 #endif // IOS_CHROME_BROWSER_METRICS_PREVIOUS_SESSION_INFO_H_ 47 #endif // IOS_CHROME_BROWSER_METRICS_PREVIOUS_SESSION_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698