OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "content/browser/tracing/background_tracing_scenario.h" |
| 6 |
| 7 #include "content/browser/tracing/background_tracing_endpoint.h" |
| 8 #include "content/browser/tracing/background_tracing_manager.h" |
| 9 #include "content/public/browser/browser_thread.h" |
| 10 |
| 11 BackgroundTracingScenario::BackgroundTracingScenario( |
| 12 scoped_refptr<BackgroundTracingEndpoint> endpoint) { |
| 13 endpoint_ = endpoint; |
| 14 } |
| 15 |
| 16 BackgroundTracingScenario::~BackgroundTracingScenario() { |
| 17 } |
| 18 |
| 19 scoped_refptr<BackgroundTracingEndpoint> |
| 20 BackgroundTracingScenario::GetEndpoint() { |
| 21 return endpoint_; |
| 22 } |
| 23 |
| 24 base::trace_event::CategoryFilter BackgroundTracingScenario::GetCategoryFilter() |
| 25 const { |
| 26 return base::trace_event::CategoryFilter( |
| 27 "benchmark," |
| 28 "disabled-by-default-toplevel.flow," |
| 29 "disabled-by-default-ipc.flow"); |
| 30 } |
OLD | NEW |