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

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

Issue 1586663006: Refactoring gamepad polling to support dynamically added sources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Avoid crash on Android content_unittests Created 4 years, 11 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_platform_data_fetcher.cc
diff --git a/content/browser/gamepad/gamepad_platform_data_fetcher.cc b/content/browser/gamepad/gamepad_platform_data_fetcher.cc
deleted file mode 100644
index d889526e0d4f730a846463670dcdddf79c70d59c..0000000000000000000000000000000000000000
--- a/content/browser/gamepad/gamepad_platform_data_fetcher.cc
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "content/browser/gamepad/gamepad_platform_data_fetcher.h"
-
-#include "third_party/WebKit/public/platform/WebGamepads.h"
-
-namespace content {
-
-GamepadDataFetcherEmpty::GamepadDataFetcherEmpty() {
-}
-
-void GamepadDataFetcherEmpty::GetGamepadData(blink::WebGamepads* pads,
- bool devices_changed_hint) {
- pads->length = 0;
-}
-
-} // namespace content

Powered by Google App Engine
This is Rietveld 408576698