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

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

Issue 1089253003: Re-land first pass BackgroundTracingManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
(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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698