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

Unified Diff: ios/chrome/browser/metrics/previous_session_info_private.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 side-by-side diff with in-line comments
Download patch
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_
« no previous file with comments | « ios/chrome/browser/metrics/previous_session_info.mm ('k') | ios/chrome/browser/metrics/previous_session_info_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698