Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: content/browser/tracing/background_tracing_config_impl.h

Issue 2034553002: Set up background memory light tracing field trials (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@set_whitelist
Patch Set: Remove navigation_tracing change and add base_export. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « base/trace_event/trace_config.cc ('k') | content/browser/tracing/background_tracing_config_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698