OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_UI_WEBUI_BIDI_CHECKER_WEB_UI_TEST_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_BIDI_CHECKER_WEB_UI_TEST_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_BIDI_CHECKER_WEB_UI_TEST_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_BIDI_CHECKER_WEB_UI_TEST_H_ |
7 | 7 |
| 8 #include <string> |
| 9 |
8 #include "base/command_line.h" | 10 #include "base/command_line.h" |
9 #include "chrome/test/base/web_ui_browsertest.h" | 11 #include "chrome/browser/ui/webui/web_ui_browsertest.h" |
| 12 #include "chrome/test/base/in_process_browser_test.h" |
10 | 13 |
11 namespace base { | 14 namespace base { |
12 class WaitableEvent; | 15 class WaitableEvent; |
13 } | 16 } |
14 | 17 |
15 // Base class for BidiChecker-based tests. Preloads the BidiChecker JS library | 18 // Base class for BidiChecker-based tests. Preloads the BidiChecker JS library |
16 // for each test. | 19 // for each test. |
17 class WebUIBidiCheckerBrowserTest : public WebUIBrowserTest { | 20 class WebUIBidiCheckerBrowserTest : public WebUIBrowserTest { |
18 public: | 21 public: |
19 virtual ~WebUIBidiCheckerBrowserTest(); | 22 virtual ~WebUIBidiCheckerBrowserTest(); |
(...skipping 30 matching lines...) Expand all Loading... |
50 | 53 |
51 protected: | 54 protected: |
52 virtual void SetUpOnMainThread() OVERRIDE; | 55 virtual void SetUpOnMainThread() OVERRIDE; |
53 virtual void CleanUpOnMainThread() OVERRIDE; | 56 virtual void CleanUpOnMainThread() OVERRIDE; |
54 | 57 |
55 // The app locale before we change it | 58 // The app locale before we change it |
56 std::string app_locale_; | 59 std::string app_locale_; |
57 }; | 60 }; |
58 | 61 |
59 #endif // CHROME_BROWSER_UI_WEBUI_BIDI_CHECKER_WEB_UI_TEST_H_ | 62 #endif // CHROME_BROWSER_UI_WEBUI_BIDI_CHECKER_WEB_UI_TEST_H_ |
OLD | NEW |