New issue
Advanced search Search tips

Issue 619984 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: Feature

Blocking:
issue 616244
issue 546365



Sign in to add a comment

Remove all ios/web exceptions from ios/chrome/browser/native_app_launcher/DEPS file

Project Member Reported by eugene...@chromium.org, Jun 14 2016

Issue description

native_app_navigation_controller should not use private web// API and should use Navigation Manager instead.
 
Blocking: 546365
Blocking: 616244

Comment 3 by pkl@chromium.org, Jan 26 2017

Cc: eugene...@chromium.org
Summary: Stop using NavigationManagerImpl and WebStateImpl in native_app_navigation_util.mm (was: Stop using GetLastUserItem in native_app_navigation_controller.mm)
Moved the used of NavigationManagerImpl from native_app_navigation_controller to native_app_navigation_util*

Comment 4 by noyau@chromium.org, Jan 31 2017

native_app_navigation_controller.mm calls -removeObserver on CRWWebController*, so it needs to include the file. Found by converting to ARC. Updated the DEPS in https://codereview.chromium.org/2664993003
Components: Mobile>WebView>Glue
Labels: -Restrict-View-Google -Type-Bug -Pri-2 Pri-3 Type-Feature
Summary: Remove all ios/web exceptions from ios/chrome/browser/native_app_launcher/DEPS file (was: Stop using NavigationManagerImpl and WebStateImpl in native_app_navigation_util.mm)

Comment 7 by pkl@chromium.org, Mar 11 2017

Owner: pkl@chromium.org
Status: Started (was: Available)
Project Member

Comment 8 by bugdroid1@chromium.org, Mar 14 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3d9e8afb33950f06b047aab296e143e45ab576ce

commit 3d9e8afb33950f06b047aab296e143e45ab576ce
Author: pkl <pkl@chromium.org>
Date: Tue Mar 14 22:48:28 2017

Removed use of CRWSessionController from NativeAppNavigationUtilsTest.

Previous implementation uses WebStateImpl, NavigationManagerImpl, and
CRWSessionController which are all private. This new version uses a
TestNavigationManager that is all "faked".

BUG= 619984 

Review-Url: https://codereview.chromium.org/2742173002
Cr-Commit-Position: refs/heads/master@{#456873}

[delete] https://crrev.com/2221ed2f0b0419b80f184e580ee37b25812ec139/ios/chrome/browser/native_app_launcher/DEPS
[modify] https://crrev.com/3d9e8afb33950f06b047aab296e143e45ab576ce/ios/chrome/browser/native_app_launcher/native_app_navigation_util_unittest.mm
[modify] https://crrev.com/3d9e8afb33950f06b047aab296e143e45ab576ce/ios/web/public/test/fakes/test_navigation_manager.h
[modify] https://crrev.com/3d9e8afb33950f06b047aab296e143e45ab576ce/ios/web/public/test/fakes/test_navigation_manager.mm

Comment 9 by pkl@chromium.org, Mar 14 2017

Status: Fixed (was: Started)

Sign in to add a comment