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

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: More tests. 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 (c) 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 #include "content/browser/tracing/background_tracing_scenario.h"
5
6 #include "content/browser/tracing/background_tracing_endpoint.h"
7 #include "content/browser/tracing/background_tracing_manager.h"
8 #include "content/public/browser/browser_thread.h"
9
10 BackgroundTracingScenario::BackgroundTracingScenario(
11 scoped_refptr<BackgroundTracingEndpoint> endpoint) {
12 endpoint_ = endpoint;
13 }
14
15 BackgroundTracingScenario::~BackgroundTracingScenario() {
16 }
17
18 scoped_refptr<BackgroundTracingEndpoint>
19 BackgroundTracingScenario::GetEndpoint() {
20 return endpoint_;
21 }
22
23 base::trace_event::CategoryFilter BackgroundTracingScenario::GetCategoryFilter()
oystein (OOO til 10th of July) 2015/04/21 17:31:44 nit: maybe base::trace_event::CategoryFilter on a
24 const {
25 return base::trace_event::CategoryFilter(
26 "benchmark,disabled-by-default-toplevel.flow,"
27 "disabled-by-default-ipc.flow");
28 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698