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

Unified Diff: ios/web/test/web_test_with_web_controller.mm

Issue 2060483003: [ios] Extracted web_test.h classes into separate files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed typo Created 4 years, 6 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/test/web_test_with_web_controller.h ('k') | ios/web/web_state/ui/crw_web_controller_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/test/web_test_with_web_controller.mm
diff --git a/ios/web/test/web_test_with_web_controller.mm b/ios/web/test/web_test_with_web_controller.mm
new file mode 100644
index 0000000000000000000000000000000000000000..2e14d9dac1ddd7bf12320eea9e63a44c277d84c5
--- /dev/null
+++ b/ios/web/test/web_test_with_web_controller.mm
@@ -0,0 +1,19 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#import "ios/web/test/web_test_with_web_controller.h"
+
+#import "ios/web/web_state/web_state_impl.h"
+
+namespace web {
+
+WebTestWithWebController::WebTestWithWebController() {}
+
+WebTestWithWebController::~WebTestWithWebController() {}
+
+CRWWebController* WebTestWithWebController::web_controller() {
+ return static_cast<web::WebStateImpl*>(web_state())->GetWebController();
+}
+
+} // namespace web
« no previous file with comments | « ios/web/test/web_test_with_web_controller.h ('k') | ios/web/web_state/ui/crw_web_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698