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

Side by Side Diff: content/public/browser/background_tracing_manager.cc

Issue 1002103004: NOT FOR REVIEW - Slow Reports Reference Implementation Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup WIP. Created 5 years, 7 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/public/browser/background_tracing_manager.h"
6
7 namespace content {
8
9 BackgroundTracingConfig::BackgroundTracingConfig(Mode m) :
10 mode(m) {
11 }
12
13 BackgroundTracingConfig::~BackgroundTracingConfig() {
14 }
15
16 bool BackgroundTracingConfig::FromDict(const base::DictionaryValue*) {
17 // TODO(simonhatch): Implement this.
18 CHECK(false);
19 return false;
20 }
21
22 void BackgroundTracingConfig::IntoDict(base::DictionaryValue*) {
23 // TODO(simonhatch): Implement this.
24 CHECK(false);
25 }
26
27 BackgroundTracingPreemptiveConfig::BackgroundTracingPreemptiveConfig() :
28 BackgroundTracingConfig(
29 BackgroundTracingConfig::PREEMPTIVE_TRACING_MODE),
30 category_preset(BackgroundTracingConfig::BENCHMARK) {
31 }
32
33 BackgroundTracingPreemptiveConfig::~BackgroundTracingPreemptiveConfig() {
34 }
35
36 bool BackgroundTracingPreemptiveConfig::FromDict(const base::DictionaryValue*) {
37 // TODO(simonhatch): Implement this.
38 CHECK(false);
39 return false;
40 }
41
42 void BackgroundTracingPreemptiveConfig::IntoDict(base::DictionaryValue*) {
43 // TODO(simonhatch): Implement this.
44 CHECK(false);
45 }
46
47 BackgroundTracingReactiveConfig::BackgroundTracingReactiveConfig() :
48 BackgroundTracingConfig(
49 BackgroundTracingConfig::REACTIVE_TRACING_MODE) {
50 }
51
52 BackgroundTracingReactiveConfig::~BackgroundTracingReactiveConfig() {
53 }
54
55 bool BackgroundTracingReactiveConfig::FromDict(const base::DictionaryValue*) {
56 // TODO(simonhatch): Implement this.
57 CHECK(false);
58 return false;
59 }
60
61 void BackgroundTracingReactiveConfig::IntoDict(base::DictionaryValue*) {
62 // TODO(simonhatch): Implement this.
63 CHECK(false);
64 }
65
66 }
67 // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698