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 14 matching lines...) Expand all Loading... |
25 void IntoDict(base::DictionaryValue* dict) const override; | 25 void IntoDict(base::DictionaryValue* dict) const override; |
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_EXECUTION_METRIC, | 36 BENCHMARK_EXECUTION_METRIC, |
36 BLINK_STYLE | 37 BLINK_STYLE |
37 }; | 38 }; |
38 | 39 |
39 CategoryPreset category_preset() const { return category_preset_; } | 40 CategoryPreset category_preset() const { return category_preset_; } |
40 void set_category_preset(CategoryPreset category_preset) { | 41 void set_category_preset(CategoryPreset category_preset) { |
41 category_preset_ = category_preset; | 42 category_preset_ = category_preset; |
42 } | 43 } |
43 | 44 |
44 const ScopedVector<BackgroundTracingRule>& rules() const { return rules_; } | 45 const ScopedVector<BackgroundTracingRule>& rules() const { return rules_; } |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 std::string scenario_name_; | 79 std::string scenario_name_; |
79 std::string enable_blink_features_; | 80 std::string enable_blink_features_; |
80 std::string disable_blink_features_; | 81 std::string disable_blink_features_; |
81 | 82 |
82 DISALLOW_COPY_AND_ASSIGN(BackgroundTracingConfigImpl); | 83 DISALLOW_COPY_AND_ASSIGN(BackgroundTracingConfigImpl); |
83 }; | 84 }; |
84 | 85 |
85 } // namespace content | 86 } // namespace content |
86 | 87 |
87 #endif // CONTENT_BROWSER_TRACING_BACKGROUND_TRACING_CONFIG_IMPL_H_ | 88 #endif // CONTENT_BROWSER_TRACING_BACKGROUND_TRACING_CONFIG_IMPL_H_ |
OLD | NEW |