Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Commit

Permalink
WIP: Port //services/device/geolocation to network::SimpleURLLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
ltilve committed Aug 16, 2018
1 parent 817796a commit e6bf1d7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
8 changes: 0 additions & 8 deletions atom/browser/atom_browser_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -212,14 +212,6 @@ void AtomBrowserClient::GetAdditionalAllowedSchemesForFileSystem(
schemes_list.end());
}

void AtomBrowserClient::GetGeolocationRequestContext(
base::OnceCallback<void(scoped_refptr<net::URLRequestContextGetter>)>
callback) {
content::BrowserThread::PostTaskAndReplyWithResult(
content::BrowserThread::UI, FROM_HERE,
base::BindOnce(&GetSystemRequestContextOnUIThread), std::move(callback));
}

std::string AtomBrowserClient::GetGeolocationApiKey() {
return GOOGLEAPIS_API_KEY;
}
Expand Down
3 changes: 0 additions & 3 deletions atom/browser/atom_browser_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@ class AtomBrowserClient : public brightray::BrowserClient,
void ResourceDispatcherHostCreated() override;
void GetAdditionalAllowedSchemesForFileSystem(
std::vector<std::string>* schemes) override;
void GetGeolocationRequestContext(
base::OnceCallback<void(scoped_refptr<net::URLRequestContextGetter>)>
callback) override;
std::string GetGeolocationApiKey() override;

// brightray::BrowserClient:
Expand Down

0 comments on commit e6bf1d7

Please sign in to comment.