Index: ios/chrome/browser/sessions/test_session_service.h |
diff --git a/ios/chrome/browser/sessions/test_session_service.h b/ios/chrome/browser/sessions/test_session_service.h |
index 9003956beea4caef802e36f7f1bcb4dbbe71abf0..cb1279bb82fed872e456d553a0731bd321903ca8 100644 |
--- a/ios/chrome/browser/sessions/test_session_service.h |
+++ b/ios/chrome/browser/sessions/test_session_service.h |
@@ -9,10 +9,14 @@ |
#import "ios/chrome/browser/sessions/session_service_ios.h" |
-// Testing subclass of SessionService that immediately consumes and archives |
-// to nowhere session windows passed into its |
-// -saveWindow:forBrowserState:immediately: method. |
+// Testing subclass of SessionService that immediately consumes session windows |
+// passed to -saveSessionWindow:sessionPath:immediately: is consumed immediately |
+// but only saved to disk if |performIO| is set to YES.. |
@interface TestSessionService : SessionServiceIOS |
+ |
+// If YES, then sessions are saved to disk, otherwise, data is discarded. |
+@property(nonatomic, assign) BOOL performIO; |
+ |
@end |
#endif // IOS_CHROME_BROWSER_SESSIONS_TEST_SESSION_SERVICE_H_ |