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

Side by Side Diff: components/keyed_service/ios/browser_state_dependency_manager.cc

Issue 864333003: Mechanical rename of tracing includes for /components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_trace_part2
Patch Set: Created 5 years, 11 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/keyed_service/ios/browser_state_dependency_manager.h" 5 #include "components/keyed_service/ios/browser_state_dependency_manager.h"
6 6
7 #include "base/debug/trace_event.h"
8 #include "base/memory/singleton.h" 7 #include "base/memory/singleton.h"
8 #include "base/trace_event/trace_event.h"
9 #include "ios/web/public/browser_state.h" 9 #include "ios/web/public/browser_state.h"
10 10
11 // static 11 // static
12 BrowserStateDependencyManager* BrowserStateDependencyManager::GetInstance() { 12 BrowserStateDependencyManager* BrowserStateDependencyManager::GetInstance() {
13 return Singleton<BrowserStateDependencyManager>::get(); 13 return Singleton<BrowserStateDependencyManager>::get();
14 } 14 }
15 15
16 void BrowserStateDependencyManager::RegisterProfilePrefsForServices( 16 void BrowserStateDependencyManager::RegisterProfilePrefsForServices(
17 const web::BrowserState* context, 17 const web::BrowserState* context,
18 user_prefs::PrefRegistrySyncable* pref_registry) { 18 user_prefs::PrefRegistrySyncable* pref_registry) {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 TRACE_EVENT0("browser", 58 TRACE_EVENT0("browser",
59 "BrowserStateDependencyManager::DoCreateBrowserStateServices") 59 "BrowserStateDependencyManager::DoCreateBrowserStateServices")
60 DependencyManager::CreateContextServices(context, is_testing_context); 60 DependencyManager::CreateContextServices(context, is_testing_context);
61 } 61 }
62 62
63 #ifndef NDEBUG 63 #ifndef NDEBUG
64 void BrowserStateDependencyManager::DumpContextDependencies( 64 void BrowserStateDependencyManager::DumpContextDependencies(
65 const base::SupportsUserData* context) const { 65 const base::SupportsUserData* context) const {
66 } 66 }
67 #endif // NDEBUG 67 #endif // NDEBUG
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698