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

Side by Side Diff: ios/web/public/test/web_test_with_web_state.mm

Issue 2605913002: Fix include import in ios/web (Closed)
Patch Set: add missing #import Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import "ios/web/public/test/web_test_with_web_state.h" 5 #import "ios/web/public/test/web_test_with_web_state.h"
6 6
7 #include "base/run_loop.h" 7 #include "base/run_loop.h"
8 #include "base/strings/sys_string_conversions.h" 8 #include "base/strings/sys_string_conversions.h"
9 #include "base/test/ios/wait_util.h" 9 #import "base/test/ios/wait_util.h"
10 #import "ios/web/public/web_state/url_verification_constants.h" 10 #include "ios/web/public/web_state/url_verification_constants.h"
11 #include "ios/web/public/web_state/web_state_observer.h" 11 #include "ios/web/public/web_state/web_state_observer.h"
12 #import "ios/web/web_state/ui/crw_web_controller.h" 12 #import "ios/web/web_state/ui/crw_web_controller.h"
13 #import "ios/web/web_state/web_state_impl.h" 13 #import "ios/web/web_state/web_state_impl.h"
14 14
15 namespace { 15 namespace {
16 // Returns CRWWebController for the given |web_state|. 16 // Returns CRWWebController for the given |web_state|.
17 CRWWebController* GetWebController(web::WebState* web_state) { 17 CRWWebController* GetWebController(web::WebState* web_state) {
18 web::WebStateImpl* web_state_impl = 18 web::WebStateImpl* web_state_impl =
19 static_cast<web::WebStateImpl*>(web_state); 19 static_cast<web::WebStateImpl*>(web_state);
20 return web_state_impl->GetWebController(); 20 return web_state_impl->GetWebController();
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 149
150 void WebTestWithWebState::WillProcessTask(const base::PendingTask&) { 150 void WebTestWithWebState::WillProcessTask(const base::PendingTask&) {
151 // Nothing to do. 151 // Nothing to do.
152 } 152 }
153 153
154 void WebTestWithWebState::DidProcessTask(const base::PendingTask&) { 154 void WebTestWithWebState::DidProcessTask(const base::PendingTask&) {
155 processed_a_task_ = true; 155 processed_a_task_ = true;
156 } 156 }
157 157
158 } // namespace web 158 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/public/test/web_test_with_web_state.h ('k') | ios/web/public/test/web_view_interaction_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698