OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_TEST_BASE_JAVASCRIPT_BROWSER_TEST_H_ | 5 #ifndef CHROME_TEST_BASE_JAVASCRIPT_BROWSER_TEST_H_ |
6 #define CHROME_TEST_BASE_JAVASCRIPT_BROWSER_TEST_H_ | 6 #define CHROME_TEST_BASE_JAVASCRIPT_BROWSER_TEST_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/scoped_vector.h" | 9 #include "base/memory/scoped_vector.h" |
9 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
10 #include "base/values.h" | 11 #include "base/values.h" |
11 #include "chrome/test/base/in_process_browser_test.h" | 12 #include "chrome/test/base/in_process_browser_test.h" |
12 | 13 |
13 // A base class providing construction of javascript testing assets. | 14 // A base class providing construction of javascript testing assets. |
14 class JavaScriptBrowserTest : public InProcessBrowserTest { | 15 class JavaScriptBrowserTest : public InProcessBrowserTest { |
15 public: | 16 public: |
16 static const base::FilePath::CharType kA11yAuditLibraryJSPath[]; | 17 static const base::FilePath::CharType kA11yAuditLibraryJSPath[]; |
17 static const base::FilePath::CharType kChaiJSPath[]; | 18 static const base::FilePath::CharType kChaiJSPath[]; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 // User added libraries. | 51 // User added libraries. |
51 std::vector<base::FilePath> user_libraries_; | 52 std::vector<base::FilePath> user_libraries_; |
52 | 53 |
53 // User library search paths. | 54 // User library search paths. |
54 std::vector<base::FilePath> library_search_paths_; | 55 std::vector<base::FilePath> library_search_paths_; |
55 | 56 |
56 DISALLOW_COPY_AND_ASSIGN(JavaScriptBrowserTest); | 57 DISALLOW_COPY_AND_ASSIGN(JavaScriptBrowserTest); |
57 }; | 58 }; |
58 | 59 |
59 #endif // CHROME_TEST_BASE_JAVASCRIPT_BROWSER_TEST_H_ | 60 #endif // CHROME_TEST_BASE_JAVASCRIPT_BROWSER_TEST_H_ |
OLD | NEW |