| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |