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

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

Issue 1162623002: Implement FromDict/IntoDict for BackgroundTracingConfig. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename file to fix mac gclient error. Created 5 years, 6 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
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
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
OLDNEW
« no previous file with comments | « content/browser/tracing/background_tracing_config_unittest.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698