| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index 672c60fc5b862d1be951c55bf76b6cdf8f92c7b3..4b7da69efed11f94cbba9c5513c20d026428c1a8 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -628,6 +628,15 @@ class SafeBrowsingSSLCertReporter : public SSLCertReporter {
|
| safe_browsing_ui_manager_;
|
| };
|
|
|
| +// A provider of Geolocation services to override AccessTokenStore.
|
| +class ChromeGeolocationDelegate
|
| + : public content::GeolocationProvider::Delegate {
|
| + public:
|
| + AccessTokenStore* CreateAccessTokenStore() final {
|
| + return new ChromeAccessTokenStore();
|
| + }
|
| +};
|
| +
|
| #if BUILDFLAG(ANDROID_JAVA_UI)
|
| void HandleSingleTabModeBlockOnUIThread(const BlockedWindowParams& params) {
|
| WebContents* web_contents = tab_util::GetWebContentsByFrameID(
|
| @@ -2246,8 +2255,9 @@ net::NetLog* ChromeContentBrowserClient::GetNetLog() {
|
| return g_browser_process->net_log();
|
| }
|
|
|
| -AccessTokenStore* ChromeContentBrowserClient::CreateAccessTokenStore() {
|
| - return new ChromeAccessTokenStore();
|
| +content::GeolocationProvider::Delegate*
|
| +ChromeContentBrowserClient::CreateGeolocationDelegate() {
|
| + return new ChromeGeolocationDelegate();
|
| }
|
|
|
| bool ChromeContentBrowserClient::IsFastShutdownPossible() {
|
|
|