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

Side by Side Diff: chrome/browser/prerender/prerender_manager_factory.cc

Issue 877323002: Mechanical rename of tracing includes for /chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 (c) 2012 The Chromium Authors. All rights reserved. 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 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 "chrome/browser/prerender/prerender_manager_factory.h" 5 #include "chrome/browser/prerender/prerender_manager_factory.h"
6 6
7 #include "base/debug/trace_event.h"
8 #include "base/sys_info.h" 7 #include "base/sys_info.h"
8 #include "base/trace_event/trace_event.h"
9 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/history/history_service_factory.h" 10 #include "chrome/browser/history/history_service_factory.h"
11 #include "chrome/browser/predictors/predictor_database_factory.h" 11 #include "chrome/browser/predictors/predictor_database_factory.h"
12 #include "chrome/browser/prerender/prerender_manager.h" 12 #include "chrome/browser/prerender/prerender_manager.h"
13 #include "chrome/browser/profiles/incognito_helpers.h" 13 #include "chrome/browser/profiles/incognito_helpers.h"
14 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/browser/sync/profile_sync_service_factory.h" 15 #include "chrome/browser/sync/profile_sync_service_factory.h"
16 #include "components/keyed_service/content/browser_context_dependency_manager.h" 16 #include "components/keyed_service/content/browser_context_dependency_manager.h"
17 17
18 #if defined(ENABLE_EXTENSIONS) 18 #if defined(ENABLE_EXTENSIONS)
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 profile, g_browser_process->prerender_tracker()); 65 profile, g_browser_process->prerender_tracker());
66 return prerender_manager; 66 return prerender_manager;
67 } 67 }
68 68
69 content::BrowserContext* PrerenderManagerFactory::GetBrowserContextToUse( 69 content::BrowserContext* PrerenderManagerFactory::GetBrowserContextToUse(
70 content::BrowserContext* context) const { 70 content::BrowserContext* context) const {
71 return chrome::GetBrowserContextOwnInstanceInIncognito(context); 71 return chrome::GetBrowserContextOwnInstanceInIncognito(context);
72 } 72 }
73 73
74 } // namespace prerender 74 } // namespace prerender
OLDNEW
« no previous file with comments | « chrome/browser/prefs/pref_service_syncable_factory.cc ('k') | chrome/browser/profiles/profile_destroyer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698