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

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

Issue 2458453002: [sensors] Add Permission guard to the generic sensor apis.
Patch Set: rebase + blink reformat Created 3 years, 8 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/safe_browsing/permission_reporter.cc
diff --git a/chrome/browser/safe_browsing/permission_reporter.cc b/chrome/browser/safe_browsing/permission_reporter.cc
index ba00b2fdd80a61e68b07177db25b2439920c962d..1adf9b7b0f51f922d810dfdf002e40105b6c11bc 100644
--- a/chrome/browser/safe_browsing/permission_reporter.cc
+++ b/chrome/browser/safe_browsing/permission_reporter.cc
@@ -47,6 +47,8 @@ PermissionReport::PermissionType PermissionTypeForReport(
return PermissionReport::BACKGROUND_SYNC;
case CONTENT_SETTINGS_TYPE_PLUGINS:
return PermissionReport::FLASH;
+ case CONTENT_SETTINGS_TYPE_SENSORS:
+ // TODO(riju): as of now nothing
default:
break;
}

Powered by Google App Engine
This is Rietveld 408576698