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

Unified Diff: ios/chrome/browser/web_state_list/web_state_list_serialization.h

Issue 2900643003: [ios] Clean how WebUsageEnabled flag is restored for WebStateList. (Closed)
Patch Set: Created 3 years, 7 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
Index: ios/chrome/browser/web_state_list/web_state_list_serialization.h
diff --git a/ios/chrome/browser/web_state_list/web_state_list_serialization.h b/ios/chrome/browser/web_state_list/web_state_list_serialization.h
index b4c4b843386745421fd266f9e093aa694a143507..f07dcda5d016e2eface976ac80aa7e65f946be61 100644
--- a/ios/chrome/browser/web_state_list/web_state_list_serialization.h
+++ b/ios/chrome/browser/web_state_list/web_state_list_serialization.h
@@ -27,11 +27,9 @@ using WebStateFactory =
SessionWindowIOS* SerializeWebStateList(WebStateList* web_state_list);
// Restores a |web_state_list| from |session_window| using |web_state_factory|
-// to create the restored WebStates and |web_usage_enabled| to enable/disable
-// web usage for the resulting WebStates.
+// to create the restored WebStates.
void DeserializeWebStateList(WebStateList* web_state_list,
SessionWindowIOS* session_window,
- bool web_usage_enabled,
const WebStateFactory& web_state_factory);
#endif // IOS_CHROME_BROWSER_WEB_STATE_LIST_WEB_STATE_LIST_SERIALIZATION_H_
« no previous file with comments | « ios/chrome/browser/tabs/tab_model.mm ('k') | ios/chrome/browser/web_state_list/web_state_list_serialization.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698