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

Side by Side Diff: content/browser/tracing/background_tracing_manager_impl.cc

Issue 1423133007: Background tracing: Added preset category for blink_style (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « content/browser/tracing/background_tracing_config_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #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
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
OLDNEW
« no previous file with comments | « content/browser/tracing/background_tracing_config_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698