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

Unified Diff: chrome/browser/profiles/profile_impl.cc

Issue 11587003: Make ChromeGeolocationPermissionContextFactory a ProfileKeyedServiceFactory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Android compile error. Add GetInstance() call to ProfileDependencyManager. Created 8 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/profile_impl.cc
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index 7a2a57b93c031f9438de8e89df21b49d6b741320..794d2c170c02668407c83bcbdf0bfbe051d2d9f1 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -857,11 +857,7 @@ HostContentSettingsMap* ProfileImpl::GetHostContentSettingsMap() {
content::GeolocationPermissionContext*
ProfileImpl::GetGeolocationPermissionContext() {
rpetterson 2012/12/18 21:22:17 Do you have any plans to eventually remove this fu
John Knottenbelt 2012/12/19 16:01:09 Not sure yet. One problem is that RenderProcessHos
rpetterson 2012/12/19 22:22:44 There are still a couple services that are in that
- if (!geolocation_permission_context_.get()) {
- geolocation_permission_context_ =
- ChromeGeolocationPermissionContextFactory::Create(this);
- }
- return geolocation_permission_context_.get();
+ return ChromeGeolocationPermissionContextFactory::GetForProfile(this);
}
content::SpeechRecognitionPreferences*

Powered by Google App Engine
This is Rietveld 408576698