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

Issue 2901633002: Replaced NavigationContext::IsErrorPage with NavigationContext::GetError (Closed)

Created:
3 years, 7 months ago by Eugene But (OOO till 7-30)
Modified:
3 years, 7 months ago
Reviewers:
kkhorimoto, droger
CC:
chromium-reviews, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, Eugene But (OOO till 7-30), baxley+watch_chromium.org, pkl (ping after 24h if needed), ios-reviews+web_chromium.org, noyau+watch_chromium.org, marq+watch_chromium.org, huangml+watch_chromium.org, liaoyuke+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Replaced NavigationContext::IsErrorPage with NavigationContext::GetError This new API will allow removing -[CRWNativeContentProvider controllerForURL:withError:isPost:] callback and replacing it with general purpose WebStateObserver::DidFinishNavigation that takes NavigationContext. BUG=725241 TBR=droger@chromium.org Review-Url: https://codereview.chromium.org/2901633002 Cr-Commit-Position: refs/heads/master@{#473728} Committed: https://chromium.googlesource.com/chromium/src/+/0417cd2f912497f083c13701f423fef5a6ce34a8

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -83 lines) Patch
M components/translate/ios/browser/language_detection_controller.mm View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/tabs/tab.mm View 2 chunks +2 lines, -2 lines 0 comments Download
M ios/chrome/browser/tabs/tab_unittest.mm View 1 chunk +1 line, -1 line 0 comments Download
M ios/web/public/test/fakes/crw_test_web_state_observer.mm View 4 chunks +6 lines, -6 lines 0 comments Download
M ios/web/public/test/fakes/test_web_state_observer.mm View 4 chunks +5 lines, -5 lines 0 comments Download
M ios/web/public/test/fakes/test_web_state_observer_util.mm View 1 chunk +1 line, -1 line 0 comments Download
M ios/web/public/web_state/navigation_context.h View 2 chunks +4 lines, -2 lines 0 comments Download
M ios/web/public/web_state/web_state_observer.h View 1 chunk +1 line, -1 line 0 comments Download
M ios/web/web_state/navigation_callbacks_inttest.mm View 7 chunks +7 lines, -7 lines 0 comments Download
M ios/web/web_state/navigation_context_impl.h View 3 chunks +6 lines, -10 lines 0 comments Download
M ios/web/web_state/navigation_context_impl.mm View 5 chunks +17 lines, -23 lines 0 comments Download
M ios/web/web_state/navigation_context_impl_unittest.mm View 3 chunks +8 lines, -7 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller.mm View 2 chunks +2 lines, -2 lines 0 comments Download
M ios/web/web_state/ui/crw_wk_navigation_states.mm View 1 chunk +1 line, -1 line 0 comments Download
M ios/web/web_state/ui/crw_wk_navigation_states_unittest.mm View 3 chunks +5 lines, -4 lines 0 comments Download
M ios/web/web_state/web_state_impl.mm View 1 chunk +1 line, -1 line 0 comments Download
M ios/web/web_state/web_state_impl_unittest.mm View 3 chunks +3 lines, -4 lines 0 comments Download
M ios/web/web_state/web_state_observer_bridge_unittest.mm View 3 chunks +3 lines, -3 lines 0 comments Download
M ios/web/webui/crw_web_ui_manager.mm View 1 chunk +1 line, -1 line 0 comments Download
M ios/web/webui/crw_web_ui_manager_unittest.mm View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (10 generated)
Eugene But (OOO till 7-30)
3 years, 7 months ago (2017-05-22 22:29:09 UTC) #6
kkhorimoto
lgtm
3 years, 7 months ago (2017-05-22 22:39:09 UTC) #7
Eugene But (OOO till 7-30)
Thanks for a quick review! TBRing droger@ for components/translate OWNERS
3 years, 7 months ago (2017-05-22 22:42:02 UTC) #10
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/2901633002/1
3 years, 7 months ago (2017-05-22 22:42:30 UTC) #12
commit-bot: I haz the power
3 years, 7 months ago (2017-05-22 22:48:30 UTC) #15
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/0417cd2f912497f083c13701f423...

Powered by Google App Engine
This is Rietveld 408576698