OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CONTENT_BROWSER_TRACING_BACKGROUND_TRACING_CONFIG_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_TRACING_BACKGROUND_TRACING_CONFIG_IMPL_H_ |
6 #define CONTENT_BROWSER_TRACING_BACKGROUND_TRACING_CONFIG_IMPL_H_ | 6 #define CONTENT_BROWSER_TRACING_BACKGROUND_TRACING_CONFIG_IMPL_H_ |
7 | 7 |
8 #include "base/gtest_prod_util.h" | 8 #include "base/gtest_prod_util.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/memory/scoped_vector.h" | 10 #include "base/memory/scoped_vector.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 | 26 |
27 enum CategoryPreset { | 27 enum CategoryPreset { |
28 CATEGORY_PRESET_UNSET, | 28 CATEGORY_PRESET_UNSET, |
29 BENCHMARK, | 29 BENCHMARK, |
30 BENCHMARK_DEEP, | 30 BENCHMARK_DEEP, |
31 BENCHMARK_GPU, | 31 BENCHMARK_GPU, |
32 BENCHMARK_IPC, | 32 BENCHMARK_IPC, |
33 BENCHMARK_STARTUP, | 33 BENCHMARK_STARTUP, |
34 BENCHMARK_BLINK_GC, | 34 BENCHMARK_BLINK_GC, |
35 BENCHMARK_MEMORY_HEAVY, | 35 BENCHMARK_MEMORY_HEAVY, |
| 36 BENCHMARK_MEMORY_LIGHT, |
36 BENCHMARK_EXECUTION_METRIC, | 37 BENCHMARK_EXECUTION_METRIC, |
37 BLINK_STYLE | 38 BLINK_STYLE |
38 }; | 39 }; |
39 | 40 |
40 CategoryPreset category_preset() const { return category_preset_; } | 41 CategoryPreset category_preset() const { return category_preset_; } |
41 void set_category_preset(CategoryPreset category_preset) { | 42 void set_category_preset(CategoryPreset category_preset) { |
42 category_preset_ = category_preset; | 43 category_preset_ = category_preset; |
43 } | 44 } |
44 | 45 |
45 const ScopedVector<BackgroundTracingRule>& rules() const { return rules_; } | 46 const ScopedVector<BackgroundTracingRule>& rules() const { return rules_; } |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 std::string scenario_name_; | 80 std::string scenario_name_; |
80 std::string enable_blink_features_; | 81 std::string enable_blink_features_; |
81 std::string disable_blink_features_; | 82 std::string disable_blink_features_; |
82 | 83 |
83 DISALLOW_COPY_AND_ASSIGN(BackgroundTracingConfigImpl); | 84 DISALLOW_COPY_AND_ASSIGN(BackgroundTracingConfigImpl); |
84 }; | 85 }; |
85 | 86 |
86 } // namespace content | 87 } // namespace content |
87 | 88 |
88 #endif // CONTENT_BROWSER_TRACING_BACKGROUND_TRACING_CONFIG_IMPL_H_ | 89 #endif // CONTENT_BROWSER_TRACING_BACKGROUND_TRACING_CONFIG_IMPL_H_ |
OLD | NEW |