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

Unified Diff: chrome/browser/geolocation/chrome_geolocation_permission_context_factory.h

Issue 13865012: Change GetProfileToUse method from Profile to content::BrowserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybots Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/geolocation/chrome_geolocation_permission_context_factory.h
diff --git a/chrome/browser/geolocation/chrome_geolocation_permission_context_factory.h b/chrome/browser/geolocation/chrome_geolocation_permission_context_factory.h
index e029f7f1fe4c55ed2baf3474b829e7d84d0cad28..7777016c0ce147546aa0fd1718975bd35b20d0d9 100644
--- a/chrome/browser/geolocation/chrome_geolocation_permission_context_factory.h
+++ b/chrome/browser/geolocation/chrome_geolocation_permission_context_factory.h
@@ -32,8 +32,8 @@ class ChromeGeolocationPermissionContextFactory
virtual ProfileKeyedService*
BuildServiceInstanceFor(content::BrowserContext* profile) const OVERRIDE;
virtual void RegisterUserPrefs(PrefRegistrySyncable* registry) OVERRIDE;
- virtual bool ServiceRedirectedInIncognito() const OVERRIDE;
- virtual bool ServiceHasOwnInstanceInIncognito() const OVERRIDE;
+ virtual content::BrowserContext* GetBrowserContextToUse(
+ content::BrowserContext* context) const OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(ChromeGeolocationPermissionContextFactory);
};

Powered by Google App Engine
This is Rietveld 408576698