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

Issue 2742173002: Removed use of CRWSessionController from NativeAppNavigationUtilsTest. (Closed)

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

Description

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} Committed: https://chromium.googlesource.com/chromium/src/+/3d9e8afb33950f06b047aab296e143e45ab576ce

Patch Set 1 #

Patch Set 2 : removed unneeded includes #

Total comments: 4

Patch Set 3 : moved test set up code to web::TestNavigationManager #

Total comments: 4

Patch Set 4 : Use GURL in TestNavigationManager method. #

Patch Set 5 : fixed parameter naming #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -48 lines) Patch
D ios/chrome/browser/native_app_launcher/DEPS View 1 chunk +0 lines, -8 lines 0 comments Download
M ios/chrome/browser/native_app_launcher/native_app_navigation_util_unittest.mm View 1 2 3 2 chunks +18 lines, -31 lines 0 comments Download
M ios/web/public/test/fakes/test_navigation_manager.h View 1 2 3 4 2 chunks +21 lines, -0 lines 0 comments Download
M ios/web/public/test/fakes/test_navigation_manager.mm View 1 2 3 4 chunks +27 lines, -9 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
pkl (ping after 24h if needed)
3 years, 9 months ago (2017-03-13 13:49:03 UTC) #2
Eugene But (OOO till 7-30)
Thank you for cleanup! lgtm https://codereview.chromium.org/2742173002/diff/20001/ios/chrome/browser/native_app_launcher/native_app_navigation_util_unittest.mm File ios/chrome/browser/native_app_launcher/native_app_navigation_util_unittest.mm (right): https://codereview.chromium.org/2742173002/diff/20001/ios/chrome/browser/native_app_launcher/native_app_navigation_util_unittest.mm#newcode9 ios/chrome/browser/native_app_launcher/native_app_navigation_util_unittest.mm:9: #import "ios/web/public/navigation_item_list.h" nit: s/import/include ...
3 years, 9 months ago (2017-03-13 21:05:41 UTC) #3
pkl (ping after 24h if needed)
Thanks! PTAL. https://codereview.chromium.org/2742173002/diff/20001/ios/chrome/browser/native_app_launcher/native_app_navigation_util_unittest.mm File ios/chrome/browser/native_app_launcher/native_app_navigation_util_unittest.mm (right): https://codereview.chromium.org/2742173002/diff/20001/ios/chrome/browser/native_app_launcher/native_app_navigation_util_unittest.mm#newcode9 ios/chrome/browser/native_app_launcher/native_app_navigation_util_unittest.mm:9: #import "ios/web/public/navigation_item_list.h" On 2017/03/13 21:05:40, Eugene But ...
3 years, 9 months ago (2017-03-14 02:12:48 UTC) #4
Eugene But (OOO till 7-30)
lgtm https://codereview.chromium.org/2742173002/diff/40001/ios/web/public/test/fakes/test_navigation_manager.h File ios/web/public/test/fakes/test_navigation_manager.h (right): https://codereview.chromium.org/2742173002/diff/40001/ios/web/public/test/fakes/test_navigation_manager.h#newcode60 ios/web/public/test/fakes/test_navigation_manager.h:60: void AddItem(const std::string& url_spec, ui::PageTransition transition); Is there ...
3 years, 9 months ago (2017-03-14 16:52:11 UTC) #5
pkl (ping after 24h if needed)
https://codereview.chromium.org/2742173002/diff/40001/ios/web/public/test/fakes/test_navigation_manager.h File ios/web/public/test/fakes/test_navigation_manager.h (right): https://codereview.chromium.org/2742173002/diff/40001/ios/web/public/test/fakes/test_navigation_manager.h#newcode60 ios/web/public/test/fakes/test_navigation_manager.h:60: void AddItem(const std::string& url_spec, ui::PageTransition transition); On 2017/03/14 16:52:11, ...
3 years, 9 months ago (2017-03-14 21:16:19 UTC) #6
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/2742173002/80001
3 years, 9 months ago (2017-03-14 22:37:49 UTC) #9
commit-bot: I haz the power
3 years, 9 months ago (2017-03-14 22:49:23 UTC) #12
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/3d9e8afb33950f06b047aab296e1...

Powered by Google App Engine
This is Rietveld 408576698