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

Side by Side Diff: ios/web/public/test/web_test_suite.h

Issue 2087233006: [ios] Moved web_test_suite.h to ios/web/public. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef IOS_WEB_TEST_WEB_TEST_SUITE_H_ 5 #ifndef IOS_WEB_PUBLIC_TEST_WEB_TEST_SUITE_H_
6 #define IOS_WEB_TEST_WEB_TEST_SUITE_H_ 6 #define IOS_WEB_PUBLIC_TEST_WEB_TEST_SUITE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/test/test_suite.h" 9 #include "base/test/test_suite.h"
10 #include "ios/web/public/test/scoped_testing_web_client.h" 10 #include "ios/web/public/test/scoped_testing_web_client.h"
11 11
12 namespace web { 12 namespace web {
13 13
14 class WebTestSuite : public base::TestSuite { 14 class WebTestSuite : public base::TestSuite {
15 public: 15 public:
16 WebTestSuite(int argc, char** argv); 16 WebTestSuite(int argc, char** argv);
17 ~WebTestSuite() override; 17 ~WebTestSuite() override;
18 18
19 protected: 19 protected:
20 // base::TestSuite overrides. 20 // base::TestSuite overrides.
21 void Initialize() override; 21 void Initialize() override;
22 void Shutdown() override; 22 void Shutdown() override;
23 23
24 private: 24 private:
25 // Sets web client on construction and restores the original on destruction. 25 // Sets web client on construction and restores the original on destruction.
26 ScopedTestingWebClient web_client_; 26 ScopedTestingWebClient web_client_;
27 27
28 DISALLOW_COPY_AND_ASSIGN(WebTestSuite); 28 DISALLOW_COPY_AND_ASSIGN(WebTestSuite);
29 }; 29 };
30 30
31 } // namespace web 31 } // namespace web
32 32
33 #endif // IOS_WEB_TEST_WEB_TEST_SUITE_H_ 33 #endif // IOS_WEB_PUBLIC_TEST_WEB_TEST_SUITE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698