summaryrefslogtreecommitdiffstats
path: root/content/browser/geolocation
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-20 15:48:53 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-20 15:48:53 +0000
commit9abfa1903f72e0735c9c1ef6570eef94f26eb4a7 (patch)
tree0a9cc60eebf84295d1a0dd5896d80f96b9461f75 /content/browser/geolocation
parent056f879b0a2a3281818bda56011081a6c683208e (diff)
downloadchromium_src-9abfa1903f72e0735c9c1ef6570eef94f26eb4a7.zip
chromium_src-9abfa1903f72e0735c9c1ef6570eef94f26eb4a7.tar.gz
chromium_src-9abfa1903f72e0735c9c1ef6570eef94f26eb4a7.tar.bz2
Deprecate Profile::GetDefaultRequestContext().
Make it private and establish a friend whitelist for existing users. BUG=64339 TEST=none Review URL: http://codereview.chromium.org/7438002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93200 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/geolocation')
-rw-r--r--content/browser/geolocation/arbitrator_dependency_factory.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/content/browser/geolocation/arbitrator_dependency_factory.cc b/content/browser/geolocation/arbitrator_dependency_factory.cc
index 7dd9c34..547227a 100644
--- a/content/browser/geolocation/arbitrator_dependency_factory.cc
+++ b/content/browser/geolocation/arbitrator_dependency_factory.cc
@@ -16,7 +16,7 @@ GeolocationArbitratorDependencyFactory::
// DefaultGeolocationArbitratorDependencyFactory
net::URLRequestContextGetter*
DefaultGeolocationArbitratorDependencyFactory::GetContextGetter() {
- return Profile::GetDefaultRequestContext();
+ return Profile::Deprecated::GetDefaultRequestContext();
}
DefaultGeolocationArbitratorDependencyFactory::GetTimeNow
@@ -43,4 +43,3 @@ LocationProviderBase*
DefaultGeolocationArbitratorDependencyFactory::NewSystemLocationProvider() {
return ::NewSystemLocationProvider();
}
-