Adds a basic offline check to InstallableManager.
https://codereview.chromium.org/2751343002
This commit is contained in:
parent
30fafc2772
commit
ffbb16e854
2 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue