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

Issue 1901343002: [ios] Do not use private web// API in ios_web_shell. (Closed)

Created:
4 years, 8 months ago by Eugene But (OOO till 7-30)
Modified:
4 years, 8 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[ios] Do not use private web// API in ios_web_shell. Added WebState::Create API that is modeled from WebContents::Create. New API is used it in web shell instead of directly allocating WebStateImpl object. BUG=597997 Committed: https://crrev.com/526b5158f99e9fc3aaf05c442c9c2e26e2dea1cd Cr-Commit-Position: refs/heads/master@{#388672}

Patch Set 1 #

Patch Set 2 : Self review #

Patch Set 3 : Reverted unrelated changes #

Patch Set 4 : Added missing include #

Total comments: 6

Patch Set 5 : Addressed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -9 lines) Patch
M ios/web/public/web_state/web_state.h View 2 chunks +11 lines, -0 lines 0 comments Download
M ios/web/shell/DEPS View 1 chunk +0 lines, -4 lines 0 comments Download
M ios/web/shell/view_controller.mm View 1 2 3 4 3 chunks +5 lines, -5 lines 0 comments Download
M ios/web/web_state/web_state.mm View 1 chunk +5 lines, -0 lines 0 comments Download
M ios/web/web_state/web_state_impl.mm View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (13 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1901343002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1901343002/20001
4 years, 8 months ago (2016-04-20 05:43:04 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1901343002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1901343002/40001
4 years, 8 months ago (2016-04-20 05:49:34 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/203880)
4 years, 8 months ago (2016-04-20 05:56:27 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1901343002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1901343002/60001
4 years, 8 months ago (2016-04-20 16:27:30 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/124879)
4 years, 8 months ago (2016-04-20 16:34:24 UTC) #13
Eugene But (OOO till 7-30)
This is the final CL to remove the usage of private web API in web_shell.
4 years, 8 months ago (2016-04-20 16:55:40 UTC) #15
kkhorimoto
lgtm
4 years, 8 months ago (2016-04-21 00:04:54 UTC) #16
rohitrao (ping after 24h)
Woot! lgtm https://codereview.chromium.org/1901343002/diff/60001/ios/web/shell/view_controller.mm File ios/web/shell/view_controller.mm (right): https://codereview.chromium.org/1901343002/diff/60001/ios/web/shell/view_controller.mm#newcode114 ios/web/shell/view_controller.mm:114: web::WebState::CreateParams web_state_create_params(_browserState); webStateCreateParams? https://codereview.chromium.org/1901343002/diff/60001/ios/web/web_state/web_state_impl.mm File ios/web/web_state/web_state_impl.mm (right): ...
4 years, 8 months ago (2016-04-21 00:17:18 UTC) #17
Eugene But (OOO till 7-30)
Thanks! https://codereview.chromium.org/1901343002/diff/60001/ios/web/shell/view_controller.mm File ios/web/shell/view_controller.mm (right): https://codereview.chromium.org/1901343002/diff/60001/ios/web/shell/view_controller.mm#newcode114 ios/web/shell/view_controller.mm:114: web::WebState::CreateParams web_state_create_params(_browserState); On 2016/04/21 00:17:18, rohitrao wrote: > ...
4 years, 8 months ago (2016-04-21 00:48:16 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1901343002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1901343002/80001
4 years, 8 months ago (2016-04-21 00:50:17 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-21 03:06:26 UTC) #23
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:30:47 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/526b5158f99e9fc3aaf05c442c9c2e26e2dea1cd
Cr-Commit-Position: refs/heads/master@{#388672}

Powered by Google App Engine
This is Rietveld 408576698