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

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: 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 unified diff | Download patch
« no previous file with comments | « ios/chrome/browser/sessions/BUILD.gn ('k') | ios/chrome/browser/sessions/session_ios.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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. A session is a set of
13 // one or more session windows that share the same browser state.
14 @interface SessionIOS : NSObject<NSCoding>
15
16 - (instancetype)initWithWindows:(NSArray<SessionWindowIOS*>*)sessionWindows
17 NS_DESIGNATED_INITIALIZER;
18
19 // The serialized SessionWindowIOS objects. May be empty but never nil.
20 @property(nonatomic, readonly) NSArray<SessionWindowIOS*>* sessionWindows;
21
22 @end
23
24 #endif // IOS_CHROME_BROWSER_SESSIONS_SESSION_IOS_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/sessions/BUILD.gn ('k') | ios/chrome/browser/sessions/session_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698