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

Side by Side Diff: chrome/browser/profiles/profile_impl.cc

Issue 261363002: Rename BrowserPluginGuestManagerDelegate to BrowserPluginGuestManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@guestview_manager_cleanupguestmanager
Patch Set: Fixed Android Build (Hopefully) Created 6 years, 7 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
« no previous file with comments | « chrome/browser/profiles/profile_impl.h ('k') | chrome/browser/ui/app_list/test/fake_profile.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/profiles/profile_impl.h" 5 #include "chrome/browser/profiles/profile_impl.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 1053 matching lines...) Expand 10 before | Expand all | Expand 10 after
1064 host_content_settings_map_ = new HostContentSettingsMap(GetPrefs(), false); 1064 host_content_settings_map_ = new HostContentSettingsMap(GetPrefs(), false);
1065 } 1065 }
1066 return host_content_settings_map_.get(); 1066 return host_content_settings_map_.get();
1067 } 1067 }
1068 1068
1069 content::GeolocationPermissionContext* 1069 content::GeolocationPermissionContext*
1070 ProfileImpl::GetGeolocationPermissionContext() { 1070 ProfileImpl::GetGeolocationPermissionContext() {
1071 return ChromeGeolocationPermissionContextFactory::GetForProfile(this); 1071 return ChromeGeolocationPermissionContextFactory::GetForProfile(this);
1072 } 1072 }
1073 1073
1074 content::BrowserPluginGuestManagerDelegate* 1074 content::BrowserPluginGuestManager* ProfileImpl::GetGuestManager() {
1075 ProfileImpl::GetGuestManagerDelegate() {
1076 return GuestViewManager::FromBrowserContext(this); 1075 return GuestViewManager::FromBrowserContext(this);
1077 } 1076 }
1078 1077
1079 DownloadManagerDelegate* ProfileImpl::GetDownloadManagerDelegate() { 1078 DownloadManagerDelegate* ProfileImpl::GetDownloadManagerDelegate() {
1080 return DownloadServiceFactory::GetForBrowserContext(this)-> 1079 return DownloadServiceFactory::GetForBrowserContext(this)->
1081 GetDownloadManagerDelegate(); 1080 GetDownloadManagerDelegate();
1082 } 1081 }
1083 1082
1084 quota::SpecialStoragePolicy* ProfileImpl::GetSpecialStoragePolicy() { 1083 quota::SpecialStoragePolicy* ProfileImpl::GetSpecialStoragePolicy() {
1085 return GetExtensionSpecialStoragePolicy(); 1084 return GetExtensionSpecialStoragePolicy();
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
1351 PrefProxyConfigTracker* ProfileImpl::CreateProxyConfigTracker() { 1350 PrefProxyConfigTracker* ProfileImpl::CreateProxyConfigTracker() {
1352 #if defined(OS_CHROMEOS) 1351 #if defined(OS_CHROMEOS)
1353 if (chromeos::ProfileHelper::IsSigninProfile(this)) { 1352 if (chromeos::ProfileHelper::IsSigninProfile(this)) {
1354 return ProxyServiceFactory::CreatePrefProxyConfigTrackerOfLocalState( 1353 return ProxyServiceFactory::CreatePrefProxyConfigTrackerOfLocalState(
1355 g_browser_process->local_state()); 1354 g_browser_process->local_state());
1356 } 1355 }
1357 #endif // defined(OS_CHROMEOS) 1356 #endif // defined(OS_CHROMEOS)
1358 return ProxyServiceFactory::CreatePrefProxyConfigTrackerOfProfile( 1357 return ProxyServiceFactory::CreatePrefProxyConfigTrackerOfProfile(
1359 GetPrefs(), g_browser_process->local_state()); 1358 GetPrefs(), g_browser_process->local_state());
1360 } 1359 }
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl.h ('k') | chrome/browser/ui/app_list/test/fake_profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698