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

Unified Diff: content/browser/gamepad/gamepad_service.cc

Issue 2129003002: Refactored gamepad polling to support dynamic sources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed unit test issue and Mac XBoxDataFetcher constructor Created 4 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/browser/gamepad/gamepad_service.cc
diff --git a/content/browser/gamepad/gamepad_service.cc b/content/browser/gamepad/gamepad_service.cc
index 8611278332a5297f309ebdd6c7524935b3900adc..a742cc817f645fe716acfc81fc5ba60c39aac51e 100644
--- a/content/browser/gamepad/gamepad_service.cc
+++ b/content/browser/gamepad/gamepad_service.cc
@@ -178,4 +178,8 @@ void GamepadService::OnUserGesture() {
}
}
+void GamepadService::SetSanitizationEnabled(bool sanitize) {
+ provider_->SetSanitizationEnabled(sanitize);
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698