Adds a basic offline check to InstallableManager.

https://codereview.chromium.org/2751343002
This commit is contained in:
Aleksei Kuzmin 2017-06-17 03:41:58 +03:00
parent 30fafc2772
commit ffbb16e854
2 changed files with 4 additions and 2 deletions

View file

@ -1238,7 +1238,7 @@ void WebContents::InspectServiceWorker() {
}
void WebContents::HasServiceWorker(
const base::Callback<void(bool)>& callback) {
const base::Callback<void(content::ServiceWorkerCapability)>& callback) {
auto context = GetServiceWorkerContext(web_contents());
if (!context)
return;