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

Unified Diff: ios/web/public/web_state/web_state.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/web/public/test/fakes/test_web_state.mm ('k') | ios/web/web_state/web_state_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/web_state/web_state.h
diff --git a/ios/web/public/web_state/web_state.h b/ios/web/public/web_state/web_state.h
index 9ee598701fe2f1c8f15c278a861b1207e7a61153..ec3f46422b91097f71a0836c530ae35eaaa8ba8d 100644
--- a/ios/web/public/web_state/web_state.h
+++ b/ios/web/public/web_state/web_state.h
@@ -24,7 +24,7 @@ class GURL;
class SkBitmap;
@class CRWJSInjectionReceiver;
-@class CRWNavigationManagerStorage;
+@class CRWSessionStorage;
@protocol CRWScrollableContent;
@protocol CRWWebViewProxy;
typedef id<CRWWebViewProxy> CRWWebViewProxyType;
@@ -100,9 +100,8 @@ class WebState : public base::SupportsUserData {
// Creates a new WebState.
static std::unique_ptr<WebState> Create(const CreateParams& params);
// Creates a new WebState from a serialized NavigationManager.
- static std::unique_ptr<WebState> Create(
- const CreateParams& params,
- CRWNavigationManagerStorage* session_storage);
+ static std::unique_ptr<WebState> Create(const CreateParams& params,
+ CRWSessionStorage* session_storage);
~WebState() override {}
@@ -140,9 +139,9 @@ class WebState : public base::SupportsUserData {
virtual const NavigationManager* GetNavigationManager() const = 0;
virtual NavigationManager* GetNavigationManager() = 0;
- // Creates a serialized version of the NavigationManager. The returned value
+ // Creates a serializable representation of the session. The returned value
// is autoreleased.
- virtual CRWNavigationManagerStorage* BuildSerializedNavigationManager() = 0;
+ virtual CRWSessionStorage* BuildSessionStorage() = 0;
// Gets the CRWJSInjectionReceiver associated with this WebState.
virtual CRWJSInjectionReceiver* GetJSInjectionReceiver() const = 0;
« no previous file with comments | « ios/web/public/test/fakes/test_web_state.mm ('k') | ios/web/web_state/web_state_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698