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

Unified Diff: ios/chrome/browser/web/navigation_manager_util_unittest.mm

Issue 2757073002: Cleanup of how -enableDesktopUserAgent uses NavigationManager utility. (Closed)
Patch Set: Added DCHECK Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/browser/web/navigation_manager_util.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/web/navigation_manager_util_unittest.mm
diff --git a/ios/chrome/browser/web/navigation_manager_util_unittest.mm b/ios/chrome/browser/web/navigation_manager_util_unittest.mm
index 9e3c7084cf9554c41bc35ccaf7fbe8c78fb476af..b02466b9cae9a5a7286f88e43861ac3d2f8a7472 100644
--- a/ios/chrome/browser/web/navigation_manager_util_unittest.mm
+++ b/ios/chrome/browser/web/navigation_manager_util_unittest.mm
@@ -19,6 +19,7 @@ class NavigationManagerUtilTest : public PlatformTest {
// Tests that empty navigation manager returns nullptr.
TEST_F(NavigationManagerUtilTest, TestLastNonRedirectedItemEmpty) {
+ EXPECT_FALSE(GetLastNonRedirectedItem(nullptr));
EXPECT_FALSE(GetLastNonRedirectedItem(&nav_manager_));
}
« no previous file with comments | « ios/chrome/browser/web/navigation_manager_util.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698