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

Issue 2900643003: [ios] Clean how WebUsageEnabled flag is restored for WebStateList. (Closed)

Created:
3 years, 7 months ago by sdefresne
Modified:
3 years, 7 months ago
CC:
chromium-reviews, marq+watch_chromium.org, ios-reviews+chrome_chromium.org, noyau+watch_chromium.org, ios-reviews_chromium.org, pkl (ping after 24h if needed)
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[ios] Clean how WebUsageEnabled flag is restored for WebStateList. The WebStateList deserialisation function DeserializeWebStateList takes a factory function that can makes arbitrary change to the WebState after it has been created. Move the code setting the WebUsageEnabled flag to the factory function instead of passing it as an extra flag to the deserialization function. Rename TabModel ivar from webUsageEnabled_ to _webUsageEnabled for consistency with the other ivars that use the new convention. BUG=724282 Review-Url: https://codereview.chromium.org/2900643003 Cr-Commit-Position: refs/heads/master@{#473886} Committed: https://chromium.googlesource.com/chromium/src/+/fd2aa6510e3b05e4ca3816a1b0e42ca59f3051dd

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -50 lines) Patch
M ios/chrome/browser/tabs/tab_model.mm View 9 chunks +24 lines, -12 lines 0 comments Download
M ios/chrome/browser/web_state_list/web_state_list_serialization.h View 1 chunk +1 line, -3 lines 0 comments Download
M ios/chrome/browser/web_state_list/web_state_list_serialization.mm View 1 chunk +0 lines, -2 lines 0 comments Download
M ios/chrome/browser/web_state_list/web_state_list_serialization_unittest.mm View 2 chunks +3 lines, -29 lines 0 comments Download
M ios/shared/chrome/browser/ui/browser_list/browser_list_session_service_factory.mm View 1 chunk +3 lines, -0 lines 0 comments Download
M ios/shared/chrome/browser/ui/browser_list/browser_list_session_service_impl.mm View 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 30 (25 generated)
sdefresne
Please take a look.
3 years, 7 months ago (2017-05-22 14:03:16 UTC) #20
sdefresne
noyau: ping
3 years, 7 months ago (2017-05-23 10:33:15 UTC) #24
noyau (Ping after 24h)
lgtm
3 years, 7 months ago (2017-05-23 14:09:53 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2900643003/60001
3 years, 7 months ago (2017-05-23 14:10:11 UTC) #27
commit-bot: I haz the power
3 years, 7 months ago (2017-05-23 14:23:28 UTC) #30
Message was sent while issue was closed.
Committed patchset #1 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/fd2aa6510e3b05e4ca3816a1b0e4...

Powered by Google App Engine
This is Rietveld 408576698