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

Unified Diff: ios/chrome/browser/web/chrome_web_test.h

Issue 2580333003: Upstream Chrome on iOS source code [10/11]. (Closed)
Patch Set: Created 4 years 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/chrome_web_client_unittest.mm ('k') | ios/chrome/browser/web/chrome_web_test.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/web/chrome_web_test.h
diff --git a/ios/chrome/browser/web/chrome_web_test.h b/ios/chrome/browser/web/chrome_web_test.h
new file mode 100644
index 0000000000000000000000000000000000000000..4647c1bb12c93dad4d4a5e8e8999fb8cdfebe170
--- /dev/null
+++ b/ios/chrome/browser/web/chrome_web_test.h
@@ -0,0 +1,31 @@
+// Copyright 2014 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_CHROME_BROWSER_WEB_CHROME_WEB_TEST_H_
+#define IOS_CHROME_BROWSER_WEB_CHROME_WEB_TEST_H_
+
+#include <memory>
+
+#import "ios/web/public/test/web_test_with_web_state.h"
+
+class TestChromeBrowserState;
+
+// An abstract class of tests that need to create real web controllers.
+class ChromeWebTest : public web::WebTestWithWebState {
+ public:
+ ~ChromeWebTest() override;
+
+ protected:
+ ChromeWebTest();
+ // WebTest implementation.
+ void SetUp() override;
+ void TearDown() override;
+
+ // WebTestWithWebController
+ web::BrowserState* GetBrowserState() override;
+
+ std::unique_ptr<TestChromeBrowserState> chrome_browser_state_;
+};
+
+#endif // IOS_CHROME_BROWSER_WEB_CHROME_WEB_TEST_H_
« no previous file with comments | « ios/chrome/browser/web/chrome_web_client_unittest.mm ('k') | ios/chrome/browser/web/chrome_web_test.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698