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