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

Side by Side Diff: components/feedback/tracing_manager.cc

Issue 546733002: Change base/file_utils.h includes to base/files/file_utils.h in chrome_elf/ and components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/feedback/tracing_manager.h" 5 #include "components/feedback/tracing_manager.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/file_util.h" 8 #include "base/files/file_util.h"
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/memory/ref_counted_memory.h" 10 #include "base/memory/ref_counted_memory.h"
11 #include "base/message_loop/message_loop_proxy.h" 11 #include "base/message_loop/message_loop_proxy.h"
12 #include "components/feedback/feedback_util.h" 12 #include "components/feedback/feedback_util.h"
13 #include "content/public/browser/tracing_controller.h" 13 #include "content/public/browser/tracing_controller.h"
14 14
15 namespace { 15 namespace {
16 // Only once trace manager can exist at a time. 16 // Only once trace manager can exist at a time.
17 TracingManager* g_tracing_manager = NULL; 17 TracingManager* g_tracing_manager = NULL;
18 // Trace IDs start at 1 and increase. 18 // Trace IDs start at 1 and increase.
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // static 134 // static
135 scoped_ptr<TracingManager> TracingManager::Create() { 135 scoped_ptr<TracingManager> TracingManager::Create() {
136 if (g_tracing_manager) 136 if (g_tracing_manager)
137 return scoped_ptr<TracingManager>(); 137 return scoped_ptr<TracingManager>();
138 return scoped_ptr<TracingManager>(new TracingManager()); 138 return scoped_ptr<TracingManager>(new TracingManager());
139 } 139 }
140 140
141 TracingManager* TracingManager::Get() { 141 TracingManager* TracingManager::Get() {
142 return g_tracing_manager; 142 return g_tracing_manager;
143 } 143 }
OLDNEW
« no previous file with comments | « components/feedback/feedback_util.cc ('k') | components/json_schema/json_schema_validator_unittest_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698