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

Side by Side Diff: ios/web/navigation/session_storage_builder.h

Issue 2687353003: Created SerializableUserDataManager. (Closed)
Patch Set: Eugene's comments Created 3 years, 10 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 2015 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_WEB_NAVIGATION_SERIALIZED_NAVIGATION_MANAGER_BUILDER_H_
6 #define IOS_WEB_NAVIGATION_SERIALIZED_NAVIGATION_MANAGER_BUILDER_H_
7
8 #include <memory>
9
10 @class CRWSessionStorage;
11
12 namespace web {
13
14 class WebStateImpl;
15
16 // Class that can serialize and deserialize session information.
17 class SessionStorageBuilder {
18 public:
19 // Creates a serializable session storage from |web_state|.
20 CRWSessionStorage* BuildStorage(WebStateImpl* web_state) const;
21 // Populates |web_state| with |storage|'s session information.
22 void ExtractSessionState(WebStateImpl* web_state,
23 CRWSessionStorage* storage) const;
24 };
25
26 } // namespace web
27
28 #endif // IOS_WEB_NAVIGATION_SERIALIZED_NAVIGATION_MANAGER_BUILDER_H_
OLDNEW
« no previous file with comments | « ios/web/navigation/serializable_user_data_manager_impl.mm ('k') | ios/web/navigation/session_storage_builder.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698