| 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 <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/json/json_writer.h" | 10 #include "base/json/json_writer.h" |
| (...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 return "*,disabled-by-default-benchmark.detailed," | 508 return "*,disabled-by-default-benchmark.detailed," |
| 509 "disabled-by-default-v8.cpu_profile"; | 509 "disabled-by-default-v8.cpu_profile"; |
| 510 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_GPU: | 510 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_GPU: |
| 511 return "benchmark,toplevel,gpu"; | 511 return "benchmark,toplevel,gpu"; |
| 512 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_IPC: | 512 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_IPC: |
| 513 return "benchmark,toplevel,ipc"; | 513 return "benchmark,toplevel,ipc"; |
| 514 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_STARTUP: | 514 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_STARTUP: |
| 515 return "benchmark,toplevel,startup,disabled-by-default-file," | 515 return "benchmark,toplevel,startup,disabled-by-default-file," |
| 516 "disabled-by-default-toplevel.flow," | 516 "disabled-by-default-toplevel.flow," |
| 517 "disabled-by-default-ipc.flow"; | 517 "disabled-by-default-ipc.flow"; |
| 518 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_BLINK_GC: |
| 519 return "blink_gc,disabled-by-default-blink_gc"; |
| 518 case BackgroundTracingConfigImpl::CategoryPreset::BLINK_STYLE: | 520 case BackgroundTracingConfigImpl::CategoryPreset::BLINK_STYLE: |
| 519 return "blink_style"; | 521 return "blink_style"; |
| 520 } | 522 } |
| 521 NOTREACHED(); | 523 NOTREACHED(); |
| 522 return ""; | 524 return ""; |
| 523 } | 525 } |
| 524 | 526 |
| 525 } // namspace content | 527 } // namspace content |
| OLD | NEW |