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

Unified Diff: chrome/browser/background_sync/background_sync_permission_context.h

Issue 2908133003: Split GetPermissionStatus into GetPermissionStatusForFrame/Worker
Patch Set: Split GetPermissionStatus into GetPermissionStatusForFrame/Worker Created 3 years, 7 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/background_sync/background_sync_permission_context.h
diff --git a/chrome/browser/background_sync/background_sync_permission_context.h b/chrome/browser/background_sync/background_sync_permission_context.h
index 721ed514bda8410779864dabcfaa7113d2527701..46ce53e51238a3d78f28e236581be9e81574de76 100644
--- a/chrome/browser/background_sync/background_sync_permission_context.h
+++ b/chrome/browser/background_sync/background_sync_permission_context.h
@@ -25,6 +25,7 @@ class BackgroundSyncPermissionContext : public PermissionContextBase {
// PermissionContextBase:
void CancelPermissionRequest(content::WebContents* web_contents,
const PermissionRequestID& id) override;
+ bool IsAllowedInWorkers() const override;
private:
// PermissionContextBase:

Powered by Google App Engine
This is Rietveld 408576698