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

Unified Diff: content/child/background_sync/background_sync_provider.h

Issue 1197853005: Collecting statistics on iframe permissions use. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed documentation. Created 5 years, 5 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: content/child/background_sync/background_sync_provider.h
diff --git a/content/child/background_sync/background_sync_provider.h b/content/child/background_sync/background_sync_provider.h
index f09a2e073f544d3af6089e45a9515e82a161c74d..d1295316c9f96b62e43a8c9910c7ebcc5bf66daa 100644
--- a/content/child/background_sync/background_sync_provider.h
+++ b/content/child/background_sync/background_sync_provider.h
@@ -69,6 +69,8 @@ class BackgroundSyncProvider : public blink::WebSyncProvider {
scoped_ptr<blink::WebSyncGetRegistrationsCallbacks> callbacks,
BackgroundSyncError error,
const mojo::Array<SyncRegistrationPtr>& registrations);
+ // PERMISSION_STATUS_NUM is only a boundary value and should never be passed
+ // into this function for |status|.
void GetPermissionStatusCallback(
scoped_ptr<blink::WebSyncGetPermissionStatusCallbacks> callbacks,
BackgroundSyncError error,

Powered by Google App Engine
This is Rietveld 408576698