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

Unified Diff: content/browser/geolocation/arbitrator_dependency_factory.cc

Issue 7711010: Removal of Profile from content part 9 of 9. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing mock Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/content_browser_client.h ('k') | content/browser/mock_content_browser_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/geolocation/arbitrator_dependency_factory.cc
diff --git a/content/browser/geolocation/arbitrator_dependency_factory.cc b/content/browser/geolocation/arbitrator_dependency_factory.cc
index 547227a798112e82c76093fa0b54c216912abeb0..ada618d6ff9d25bc82e1784ebc9ecd689b2a8278 100644
--- a/content/browser/geolocation/arbitrator_dependency_factory.cc
+++ b/content/browser/geolocation/arbitrator_dependency_factory.cc
@@ -4,9 +4,10 @@
#include "content/browser/geolocation/arbitrator_dependency_factory.h"
-#include "chrome/browser/profiles/profile.h"
+#include "content/browser/content_browser_client.h"
#include "content/browser/geolocation/access_token_store.h"
#include "content/browser/geolocation/location_provider.h"
+#include "content/common/content_client.h"
// GeolocationArbitratorDependencyFactory
GeolocationArbitratorDependencyFactory::
@@ -16,7 +17,9 @@ GeolocationArbitratorDependencyFactory::
// DefaultGeolocationArbitratorDependencyFactory
net::URLRequestContextGetter*
DefaultGeolocationArbitratorDependencyFactory::GetContextGetter() {
- return Profile::Deprecated::GetDefaultRequestContext();
+ // Deprecated; see http://crbug.com/92363
+ return content::GetContentClient()->browser()->
+ GetDefaultRequestContextDeprecatedCrBug64339();
}
DefaultGeolocationArbitratorDependencyFactory::GetTimeNow
« no previous file with comments | « content/browser/content_browser_client.h ('k') | content/browser/mock_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698