OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 COMPONENTS_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_ | 5 #ifndef CONTENT_SHELL_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_ |
6 #define COMPONENTS_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_ | 6 #define CONTENT_SHELL_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/values.h" | 12 #include "base/values.h" |
13 #include "components/test_runner/test_runner_export.h" | 13 #include "content/shell/test_runner/test_runner_export.h" |
14 #include "components/test_runner/tracked_dictionary.h" | 14 #include "content/shell/test_runner/tracked_dictionary.h" |
15 | 15 |
16 namespace test_runner { | 16 namespace test_runner { |
17 | 17 |
18 // LayoutTestRuntimeFlags stores flags controlled by layout tests at runtime | 18 // LayoutTestRuntimeFlags stores flags controlled by layout tests at runtime |
19 // (i.e. by calling testRunner.dumpAsText() or testRunner.waitUntilDone()). | 19 // (i.e. by calling testRunner.dumpAsText() or testRunner.waitUntilDone()). |
20 // Changes to the flags are tracked (to help replicate them across renderers). | 20 // Changes to the flags are tracked (to help replicate them across renderers). |
21 class TEST_RUNNER_EXPORT LayoutTestRuntimeFlags { | 21 class TEST_RUNNER_EXPORT LayoutTestRuntimeFlags { |
22 public: | 22 public: |
23 // Creates default flags (see also the Reset method). | 23 // Creates default flags (see also the Reset method). |
24 LayoutTestRuntimeFlags(); | 24 LayoutTestRuntimeFlags(); |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 } | 203 } |
204 | 204 |
205 private: | 205 private: |
206 TrackedDictionary dict_; | 206 TrackedDictionary dict_; |
207 | 207 |
208 DISALLOW_COPY_AND_ASSIGN(LayoutTestRuntimeFlags); | 208 DISALLOW_COPY_AND_ASSIGN(LayoutTestRuntimeFlags); |
209 }; | 209 }; |
210 | 210 |
211 } // namespace test_runner | 211 } // namespace test_runner |
212 | 212 |
213 #endif // COMPONENTS_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_ | 213 #endif // CONTENT_SHELL_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_ |
OLD | NEW |