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

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

Issue 2699673002: [Sensors] Fix error type and message used (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/sensor/SensorProxy.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/sensor/SensorProxy.h
diff --git a/third_party/WebKit/Source/modules/sensor/SensorProxy.h b/third_party/WebKit/Source/modules/sensor/SensorProxy.h
index b9264feccf38067aa77ae2724d5b0bc54338bd2c..91434ebf072c9752a682972e0fb2d15347e00864 100644
--- a/third_party/WebKit/Source/modules/sensor/SensorProxy.h
+++ b/third_party/WebKit/Source/modules/sensor/SensorProxy.h
@@ -108,10 +108,8 @@ class SensorProxy final : public GarbageCollectedFinalized<SensorProxy>,
void pageVisibilityChanged() override;
// Generic handler for a fatal error.
- // String parameters are intentionally copied.
- void handleSensorError(ExceptionCode = UnknownError,
- String sanitizedMessage = String(),
- String unsanitizedMessage = String());
+ void handleSensorError();
+
// mojo call callbacks.
void onSensorCreated(device::mojom::blink::SensorInitParamsPtr,
device::mojom::blink::SensorClientRequest);
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/sensor/SensorProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698