Chromium Code Reviews| Index: ios/chrome/browser/metrics/previous_session_info_private.h |
| diff --git a/ios/chrome/browser/metrics/previous_session_info_private.h b/ios/chrome/browser/metrics/previous_session_info_private.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..954c20c34b653436565c61a61dd416e93c50f8ba |
| --- /dev/null |
| +++ b/ios/chrome/browser/metrics/previous_session_info_private.h |
| @@ -0,0 +1,20 @@ |
| +// 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. |
| + |
| +#ifndef IOS_CHROME_BROWSER_METRICS_PREVIOUS_SESSION_INFO_PRIVATE_H_ |
| +#define IOS_CHROME_BROWSER_METRICS_PREVIOUS_SESSION_INFO_PRIVATE_H_ |
| + |
| +@interface PreviousSessionInfo (TestingOnly) |
| + |
| +// Redefined to be read-write. |
| +@property(nonatomic, assign) BOOL didSeeMemoryWarningShortlyBeforeTerminating; |
| + |
| +// Redefined to be read-write. |
| +@property(nonatomic, assign) BOOL isFirstSessionAfterUpgrade; |
|
Olivier
2016/05/26 12:18:30
is this needed ?
gambard
2016/05/26 12:22:14
Used downstream.
|
| + |
| ++ (void)resetSharedInstanceForTesting; |
| + |
| +@end |
| + |
| +#endif // IOS_CHROME_BROWSER_METRICS_PREVIOUS_SESSION_INFO_PRIVATE_H_ |