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

Unified Diff: ios/web/public/test/web_test_with_web_state.mm

Issue 2798813002: Revert of Set user agent type of transient item the same as pending item. (Closed)
Patch Set: Created 3 years, 8 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/web/public/test/web_test_with_web_state.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/test/web_test_with_web_state.mm
diff --git a/ios/web/public/test/web_test_with_web_state.mm b/ios/web/public/test/web_test_with_web_state.mm
index 963c6356fb79dcbcd319065f1905774c0f0c3b0f..9ee621e25276d62409c556f40ac4e203b2dc5f8d 100644
--- a/ios/web/public/test/web_test_with_web_state.mm
+++ b/ios/web/public/test/web_test_with_web_state.mm
@@ -7,7 +7,6 @@
#include "base/run_loop.h"
#include "base/strings/sys_string_conversions.h"
#import "base/test/ios/wait_util.h"
-#import "ios/web/navigation/navigation_manager_impl.h"
#include "ios/web/public/web_state/url_verification_constants.h"
#include "ios/web/public/web_state/web_state_observer.h"
#import "ios/web/web_state/ui/crw_web_controller.h"
@@ -41,15 +40,6 @@
void WebTestWithWebState::TearDown() {
DestroyWebState();
WebTest::TearDown();
-}
-
-void WebTestWithWebState::AddPendingItem(const GURL& url,
- ui::PageTransition transition) {
- GetWebController(web_state())
- .webStateImpl->GetNavigationManagerImpl()
- .AddPendingItem(url, Referrer(), transition,
- web::NavigationInitiationType::USER_INITIATED,
- web::NavigationManager::UserAgentOverrideOption::INHERIT);
}
void WebTestWithWebState::LoadHtml(NSString* html, const GURL& url) {
« no previous file with comments | « ios/web/public/test/web_test_with_web_state.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698