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

Unified Diff: device/gamepad/gamepad_platform_data_fetcher.cc

Issue 2081583002: Migrating majority of gamepad from content/browser/ to device/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Final tweaks 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: device/gamepad/gamepad_platform_data_fetcher.cc
diff --git a/content/browser/gamepad/gamepad_platform_data_fetcher.cc b/device/gamepad/gamepad_platform_data_fetcher.cc
similarity index 70%
rename from content/browser/gamepad/gamepad_platform_data_fetcher.cc
rename to device/gamepad/gamepad_platform_data_fetcher.cc
index d889526e0d4f730a846463670dcdddf79c70d59c..2edcc6ae258fabfb0bc221929f0e74cf4b0b4594 100644
--- a/content/browser/gamepad/gamepad_platform_data_fetcher.cc
+++ b/device/gamepad/gamepad_platform_data_fetcher.cc
@@ -2,18 +2,17 @@
// 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 "device/gamepad/gamepad_platform_data_fetcher.h"
#include "third_party/WebKit/public/platform/WebGamepads.h"
-namespace content {
+namespace device {
-GamepadDataFetcherEmpty::GamepadDataFetcherEmpty() {
-}
+GamepadDataFetcherEmpty::GamepadDataFetcherEmpty() {}
void GamepadDataFetcherEmpty::GetGamepadData(blink::WebGamepads* pads,
bool devices_changed_hint) {
pads->length = 0;
}
-} // namespace content
+} // namespace device
« no previous file with comments | « device/gamepad/gamepad_platform_data_fetcher.h ('k') | device/gamepad/gamepad_platform_data_fetcher_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698