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

Unified Diff: third_party/WebKit/Source/modules/sensor/Sensor.h

Issue 2458453002: [sensors] Add Permission guard to the generic sensor apis.
Patch Set: Fix comments + rebase 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: third_party/WebKit/Source/modules/sensor/Sensor.h
diff --git a/third_party/WebKit/Source/modules/sensor/Sensor.h b/third_party/WebKit/Source/modules/sensor/Sensor.h
index 2020d7633eb5887760099a41113172e9033b391e..7fe64c489680cd79e1de29577377568ff4c7b1c6 100644
--- a/third_party/WebKit/Source/modules/sensor/Sensor.h
+++ b/third_party/WebKit/Source/modules/sensor/Sensor.h
@@ -88,6 +88,8 @@ class Sensor : public EventTargetWithInlineData,
const String& sanitizedMessage,
const String& unsanitizedMessage) override;
+ void onSensorPermissionChanged();
+
void onStartRequestCompleted(bool);
void onStopRequestCompleted(bool);

Powered by Google App Engine
This is Rietveld 408576698