| OLD | NEW |
| 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/macros.h" | 7 #include "base/macros.h" |
| 8 #include "content/public/browser/background_tracing_preemptive_config.h" | 8 #include "content/public/browser/background_tracing_preemptive_config.h" |
| 9 #include "content/public/browser/background_tracing_reactive_config.h" | 9 #include "content/public/browser/background_tracing_reactive_config.h" |
| 10 #include "content/public/browser/browser_thread.h" | 10 #include "content/public/browser/browser_thread.h" |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 "disabled-by-default-toplevel.flow," | 289 "disabled-by-default-toplevel.flow," |
| 290 "disabled-by-default-ipc.flow"); | 290 "disabled-by-default-ipc.flow"); |
| 291 case BackgroundTracingConfig::CategoryPreset::BENCHMARK_DEEP: | 291 case BackgroundTracingConfig::CategoryPreset::BENCHMARK_DEEP: |
| 292 return base::trace_event::CategoryFilter( | 292 return base::trace_event::CategoryFilter( |
| 293 "*,disabled-by-default-blink.debug.layout"); | 293 "*,disabled-by-default-blink.debug.layout"); |
| 294 } | 294 } |
| 295 NOTREACHED(); | 295 NOTREACHED(); |
| 296 return base::trace_event::CategoryFilter(); | 296 return base::trace_event::CategoryFilter(); |
| 297 } | 297 } |
| 298 | 298 |
| 299 scoped_ptr<BackgroundTracingConfig> BackgroundTracingConfig::FromDict( | |
| 300 const base::DictionaryValue* dict) { | |
| 301 // TODO(simonhatch): Implement this. | |
| 302 CHECK(false); | |
| 303 return NULL; | |
| 304 } | |
| 305 | |
| 306 void BackgroundTracingConfig::IntoDict(const BackgroundTracingConfig* config, | |
| 307 base::DictionaryValue* dict) { | |
| 308 // TODO(simonhatch): Implement this. | |
| 309 CHECK(false); | |
| 310 } | |
| 311 | |
| 312 } // namspace content | 299 } // namspace content |
| OLD | NEW |