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

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

Issue 1066563006: GuestView: Move GuestViewManager extension dependencies to ExtensionsGuestViewManagerDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@extensions_guest_view_message_filter
Patch Set: Fixed NavigateGuest Created 5 years, 8 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/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 1035 matching lines...) Expand 10 before | Expand all | Expand 10 after
1046 host_content_settings_map_->RegisterProvider( 1046 host_content_settings_map_->RegisterProvider(
1047 HostContentSettingsMap::SUPERVISED_PROVIDER, 1047 HostContentSettingsMap::SUPERVISED_PROVIDER,
1048 supervised_provider.Pass()); 1048 supervised_provider.Pass());
1049 #endif 1049 #endif
1050 } 1050 }
1051 return host_content_settings_map_.get(); 1051 return host_content_settings_map_.get();
1052 } 1052 }
1053 1053
1054 content::BrowserPluginGuestManager* ProfileImpl::GetGuestManager() { 1054 content::BrowserPluginGuestManager* ProfileImpl::GetGuestManager() {
1055 #if defined(ENABLE_EXTENSIONS) 1055 #if defined(ENABLE_EXTENSIONS)
1056 return extensions::GuestViewManager::FromBrowserContextIfAvailable(this); 1056 return extensions::GuestViewManager::FromBrowserContext(this);
1057 #else 1057 #else
1058 return NULL; 1058 return NULL;
1059 #endif 1059 #endif
1060 } 1060 }
1061 1061
1062 DownloadManagerDelegate* ProfileImpl::GetDownloadManagerDelegate() { 1062 DownloadManagerDelegate* ProfileImpl::GetDownloadManagerDelegate() {
1063 return DownloadServiceFactory::GetForBrowserContext(this)-> 1063 return DownloadServiceFactory::GetForBrowserContext(this)->
1064 GetDownloadManagerDelegate(); 1064 GetDownloadManagerDelegate();
1065 } 1065 }
1066 1066
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
1335 ProfileImpl::CreateDomainReliabilityMonitor(PrefService* local_state) { 1335 ProfileImpl::CreateDomainReliabilityMonitor(PrefService* local_state) {
1336 domain_reliability::DomainReliabilityService* service = 1336 domain_reliability::DomainReliabilityService* service =
1337 domain_reliability::DomainReliabilityServiceFactory::GetInstance()-> 1337 domain_reliability::DomainReliabilityServiceFactory::GetInstance()->
1338 GetForBrowserContext(this); 1338 GetForBrowserContext(this);
1339 if (!service) 1339 if (!service)
1340 return scoped_ptr<domain_reliability::DomainReliabilityMonitor>(); 1340 return scoped_ptr<domain_reliability::DomainReliabilityMonitor>();
1341 1341
1342 return service->CreateMonitor( 1342 return service->CreateMonitor(
1343 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO)); 1343 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO));
1344 } 1344 }
OLDNEW
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_impl.cc ('k') | chrome/browser/signin/signin_header_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698