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 #include "content/browser/tracing/background_tracing_manager_impl.h" | 5 #include "content/browser/tracing/background_tracing_manager_impl.h" |
6 | 6 |
7 #include "base/cpu.h" | 7 #include "base/cpu.h" |
8 #include "base/json/json_writer.h" | 8 #include "base/json/json_writer.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/metrics/histogram_macros.h" | 10 #include "base/metrics/histogram_macros.h" |
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
543 return "*,disabled-by-default-benchmark.detailed," | 543 return "*,disabled-by-default-benchmark.detailed," |
544 "disabled-by-default-v8.cpu_profile"; | 544 "disabled-by-default-v8.cpu_profile"; |
545 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_GPU: | 545 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_GPU: |
546 return "benchmark,toplevel,gpu"; | 546 return "benchmark,toplevel,gpu"; |
547 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_IPC: | 547 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_IPC: |
548 return "benchmark,toplevel,ipc"; | 548 return "benchmark,toplevel,ipc"; |
549 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_STARTUP: | 549 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_STARTUP: |
550 return "benchmark,toplevel,startup,disabled-by-default-file," | 550 return "benchmark,toplevel,startup,disabled-by-default-file," |
551 "disabled-by-default-toplevel.flow," | 551 "disabled-by-default-toplevel.flow," |
552 "disabled-by-default-ipc.flow"; | 552 "disabled-by-default-ipc.flow"; |
| 553 case BackgroundTracingConfigImpl::CategoryPreset::BLINK_STYLE: |
| 554 return "blink_style"; |
553 } | 555 } |
554 NOTREACHED(); | 556 NOTREACHED(); |
555 return ""; | 557 return ""; |
556 } | 558 } |
557 | 559 |
558 } // namspace content | 560 } // namspace content |
OLD | NEW |