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

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 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.cc
diff --git a/content/child/background_sync/background_sync_provider.cc b/content/child/background_sync/background_sync_provider.cc
index 2bee9bbac361ceea9b6c30279569e517d01c6b3d..f67b650214f3769848e5f7689330cf6f988f1fd0 100644
--- a/content/child/background_sync/background_sync_provider.cc
+++ b/content/child/background_sync/background_sync_provider.cc
@@ -274,6 +274,9 @@ void BackgroundSyncProvider::GetPermissionStatusCallback(
callbacks->onSuccess(new blink::WebSyncPermissionStatus(
blink::WebSyncPermissionStatusPrompt));
break;
+ case PERMISSION_STATUS_NUM:
+ NOTREACHED();
+ break;
}
break;
case BACKGROUND_SYNC_ERROR_NOT_FOUND:
« no previous file with comments | « content/child/background_sync/background_sync_provider.h ('k') | content/child/permissions/permission_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698