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

Unified Diff: ios/web/web_state/web_state_impl.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/web_state/web_state.h ('k') | ios/web/web_state/web_state_impl.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/web_state_impl.h
diff --git a/ios/web/web_state/web_state_impl.h b/ios/web/web_state/web_state_impl.h
index 28fa5c7971ffa2918f248eb244e9552694c4db05..905e516d33276ffd2ab39554a3ce883725bd7a2d 100644
--- a/ios/web/web_state/web_state_impl.h
+++ b/ios/web/web_state/web_state_impl.h
@@ -25,7 +25,7 @@
#import "ios/web/public/web_state/web_state_delegate.h"
#include "url/gurl.h"
-@class CRWNavigationManagerStorage;
+@class CRWSessionStorage;
@class CRWWebController;
@protocol CRWWebViewProxy;
@class NSURLRequest;
@@ -66,8 +66,7 @@ class WebStateImpl : public WebState, public NavigationManagerDelegate {
// Constructor for WebStateImpls created for new sessions.
WebStateImpl(BrowserState* browser_state);
// Constructor for WebStatesImpls created for deserialized sessions
- WebStateImpl(BrowserState* browser_state,
- CRWNavigationManagerStorage* session_storage);
+ WebStateImpl(BrowserState* browser_state, CRWSessionStorage* session_storage);
~WebStateImpl() override;
// Gets/Sets the CRWWebController that backs this object.
@@ -204,7 +203,7 @@ class WebStateImpl : public WebState, public NavigationManagerDelegate {
void Stop() override;
const NavigationManager* GetNavigationManager() const override;
NavigationManager* GetNavigationManager() override;
- CRWNavigationManagerStorage* BuildSerializedNavigationManager() override;
+ CRWSessionStorage* BuildSessionStorage() override;
CRWJSInjectionReceiver* GetJSInjectionReceiver() const override;
void ExecuteJavaScript(const base::string16& javascript) override;
void ExecuteJavaScript(const base::string16& javascript,
@@ -282,6 +281,10 @@ class WebStateImpl : public WebState, public NavigationManagerDelegate {
void RemovePolicyDecider(WebStatePolicyDecider* decider) override;
private:
+ // The SessionStorageBuilder functions require access to private variables of
+ // WebStateImpl.
+ friend SessionStorageBuilder;
+
// Creates a WebUIIOS object for |url| that is owned by the caller. Returns
// nullptr if |url| does not correspond to a WebUI page.
std::unique_ptr<web::WebUIIOS> CreateWebUIIOS(const GURL& url);
« no previous file with comments | « ios/web/public/web_state/web_state.h ('k') | ios/web/web_state/web_state_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698