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

Unified Diff: chrome/browser/safe_browsing/permission_reporter.cc

Issue 2458453002: [sensors] Add Permission guard to the generic sensor apis.
Patch Set: Move permissions stuff to SensorProxy, remove aw related stuff Created 4 years, 1 month 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/safe_browsing/permission_reporter.cc
diff --git a/chrome/browser/safe_browsing/permission_reporter.cc b/chrome/browser/safe_browsing/permission_reporter.cc
index fee2d359fec79990a60a5458c4382a2d4849d5d7..17cec8cd480f1bcb1fb714874238bf30ae330e45 100644
--- a/chrome/browser/safe_browsing/permission_reporter.cc
+++ b/chrome/browser/safe_browsing/permission_reporter.cc
@@ -52,6 +52,8 @@ PermissionReport::PermissionType PermissionTypeForReport(
return PermissionReport::BACKGROUND_SYNC;
case PermissionType::FLASH:
return PermissionReport::FLASH;
+ case PermissionType::SENSORS:
+ // TODO(riju): as of now nothing
case PermissionType::NUM:
break;
}

Powered by Google App Engine
This is Rietveld 408576698