Index: ios/chrome/browser/sessions/test_session_service.mm |
diff --git a/ios/chrome/browser/sessions/test_session_service.mm b/ios/chrome/browser/sessions/test_session_service.mm |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e3c85480740fd9f3a72f2520f9a0168163bb6619 |
--- /dev/null |
+++ b/ios/chrome/browser/sessions/test_session_service.mm |
@@ -0,0 +1,13 @@ |
+// 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. |
+ |
+#import "ios/chrome/browser/sessions/test_session_service.h" |
+ |
+@implementation TestSessionService |
+- (void)saveWindow:(SessionWindowIOS*)window |
+ forBrowserState:(ios::ChromeBrowserState*)browserState |
+ immediately:(BOOL)immediately { |
+ [NSKeyedArchiver archivedDataWithRootObject:window]; |
+} |
+@end |