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

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

Issue 1197853005: Collecting statistics on iframe permissions use. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed to use permission status. 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.cc
diff --git a/content/child/background_sync/background_sync_provider.cc b/content/child/background_sync/background_sync_provider.cc
index 2bee9bbac361ceea9b6c30279569e517d01c6b3d..3b526b7cfc0a455b4629c9e221824a2e3f3c9c95 100644
--- a/content/child/background_sync/background_sync_provider.cc
+++ b/content/child/background_sync/background_sync_provider.cc
@@ -274,6 +274,8 @@ void BackgroundSyncProvider::GetPermissionStatusCallback(
callbacks->onSuccess(new blink::WebSyncPermissionStatus(
blink::WebSyncPermissionStatusPrompt));
break;
+ case PERMISSION_STATUS_NUM:
+ break;
jww 2015/07/07 18:41:46 Shouldn't this be a NOTREACHED?
keenanb 2015/07/07 21:02:59 Done.
}
break;
case BACKGROUND_SYNC_ERROR_NOT_FOUND:

Powered by Google App Engine
This is Rietveld 408576698