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

Side by Side Diff: ios/chrome/browser/sessions/session_ios.h

Issue 2811593004: [ios] Allow having multiple session windows in a session. (Closed)
Patch Set: Rebase on origin/master. 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef IOS_CHROME_BROWSER_SESSIONS_SESSION_IOS_H_
6 #define IOS_CHROME_BROWSER_SESSIONS_SESSION_IOS_H_
7
8 #import <Foundation/Foundation.h>
9
10 @class SessionWindowIOS;
11
12 // Encapsulates everything required to save a session.
marq (ping after 24h) 2017/04/18 15:16:55 Maybe add " A session is a set of one or more sess
sdefresne 2017/04/19 14:54:41 Done.
13 @interface SessionIOS : NSObject<NSCoding>
14
15 - (instancetype)initWithWindows:(NSArray<SessionWindowIOS*>*)sessionWindows
16 NS_DESIGNATED_INITIALIZER;
17
18 // The serialized SessionWindowIOS objects.
marq (ping after 24h) 2017/04/18 15:16:55 May be empty but never nil?
sdefresne 2017/04/19 14:54:41 Done.
19 @property(nonatomic, readonly) NSArray<SessionWindowIOS*>* sessionWindows;
20
21 @end
22
23 #endif // IOS_CHROME_BROWSER_SESSIONS_SESSION_IOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698