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

Unified Diff: ios/web/shell/test/app/web_shell_test_util.h

Issue 1950323002: Refactor web shell integration tests utilities. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add gn Created 4 years, 7 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/navigation_test_util.mm ('k') | ios/web/shell/test/app/web_shell_test_util.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/shell/test/app/web_shell_test_util.h
diff --git a/ios/web/shell/test/app/web_shell_test_util.h b/ios/web/shell/test/app/web_shell_test_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..2a88d2a4f83fae8f3e6af454113281d85f83dafa
--- /dev/null
+++ b/ios/web/shell/test/app/web_shell_test_util.h
@@ -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.
+
+#ifndef IOS_WEB_SHELL_TEST_APP_WEB_SHELL_TEST_UTIL_H_
+#define IOS_WEB_SHELL_TEST_APP_WEB_SHELL_TEST_UTIL_H_
+
+#import "ios/web/public/web_state/web_state.h"
+
+namespace web {
+namespace web_shell_test_util {
+
+// Gets the current WebState for the web shell.
+web::WebState* GetCurrentWebState();
+
+} // namespace web_shell_test_util
+} // namespace web
+
+#endif // IOS_WEB_SHELL_TEST_APP_WEB_SHELL_TEST_UTIL_H_
« no previous file with comments | « ios/web/public/test/navigation_test_util.mm ('k') | ios/web/shell/test/app/web_shell_test_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698