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

Unified Diff: ios/web/public/web_state/web_state.h

Issue 2802613005: Add a comment and DCHECK to require |session_storage| to be non-nil in WebState::CreateWithStorageS… (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | 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/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 aa55ba6a7c3ff0fcbd02ab33307c47573bd7993b..90adba4dfb7d2dccae8a32f37da654352f7c92d7 100644
--- a/ios/web/public/web_state/web_state.h
+++ b/ios/web/public/web_state/web_state.h
@@ -93,7 +93,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.
+ // Creates a new WebState from a serialized representation of the session.
+ // |session_storage| must not be nil.
static std::unique_ptr<WebState> CreateWithStorageSession(
const CreateParams& params,
CRWSessionStorage* session_storage);
« no previous file with comments | « no previous file | ios/web/web_state/web_state_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698