Fix build break
[chromium-blink-merge.git] / chrome / browser / task_profiler / auto_tracking.cc
blobf934735e015bb258fce33d10db137d98d8bdc4bf
1 // Copyright (c) 2012 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.
5 #include "chrome/browser/task_profiler/auto_tracking.h"
6 #include "chrome/browser/task_profiler/task_profiler_data_serializer.h"
8 namespace task_profiler {
10 AutoTracking::~AutoTracking() {
11 if (!output_file_path_.empty()) {
12 TaskProfilerDataSerializer output;
13 output.WriteToFile(output_file_path_);
17 void AutoTracking::set_output_file_path(const base::FilePath &path) {
18 output_file_path_ = path;
21 } // namespace task_profiler