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

Unified Diff: ios/chrome/browser/sessions/session_window_ios.h

Issue 2811593004: [ios] Allow having multiple session windows in a session. (Closed)
Patch Set: Address comments. Created 3 years, 8 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/sessions/session_window_ios.h
diff --git a/ios/chrome/browser/sessions/session_window_ios.h b/ios/chrome/browser/sessions/session_window_ios.h
index 1b6705800f694ca49cd5b1f0013c3d10d1d58766..d1fbe507be02e0c399e0466b357c9685705f25a8 100644
--- a/ios/chrome/browser/sessions/session_window_ios.h
+++ b/ios/chrome/browser/sessions/session_window_ios.h
@@ -9,8 +9,7 @@
@class CRWSessionStorage;
-// Encapsulates everything required to save a session "window". For iOS, there
-// will only be one window at a time.
+// Encapsulates everything required to save a session "window".
@interface SessionWindowIOS : NSObject<NSCoding>
// Initializes SessionsWindowIOS using the parameters are initial values for
@@ -20,7 +19,7 @@
selectedIndex:(NSUInteger)selectedIndex
NS_DESIGNATED_INITIALIZER;
-// The serialized session objects.
+// The serialized session objects. May be empty but never nil.
@property(nonatomic, readonly) NSArray<CRWSessionStorage*>* sessions;
// The currently selected session. NSNotFound if the sessionWindow contains
« no previous file with comments | « ios/chrome/browser/sessions/session_service_ios_unittest.mm ('k') | ios/chrome/browser/sessions/test_session_service.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698