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

Unified Diff: device/gamepad/gamepad_platform_data_fetcher_android.h

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_android.h
diff --git a/content/browser/gamepad/gamepad_platform_data_fetcher_android.h b/device/gamepad/gamepad_platform_data_fetcher_android.h
similarity index 67%
rename from content/browser/gamepad/gamepad_platform_data_fetcher_android.h
rename to device/gamepad/gamepad_platform_data_fetcher_android.h
index c6ea2e37e1a3bec827b216094fb04c409a56530b..103841888cc78262565b5c5a0d6207925c0aedec 100644
--- a/content/browser/gamepad/gamepad_platform_data_fetcher_android.h
+++ b/device/gamepad/gamepad_platform_data_fetcher_android.h
@@ -5,19 +5,19 @@
// Define the data fetcher that GamepadProvider will use for android port.
// (GamepadPlatformDataFetcher).
-#ifndef CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_ANDROID_H_
-#define CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_ANDROID_H_
+#ifndef DEVICE_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_ANDROID_H_
+#define DEVICE_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_ANDROID_H_
#include <jni.h>
#include "base/android/jni_android.h"
#include "base/macros.h"
-#include "content/browser/gamepad/gamepad_data_fetcher.h"
-#include "content/browser/gamepad/gamepad_provider.h"
-#include "content/browser/gamepad/gamepad_standard_mappings.h"
+#include "device/gamepad/gamepad_data_fetcher.h"
+#include "device/gamepad/gamepad_provider.h"
+#include "device/gamepad/gamepad_standard_mappings.h"
#include "third_party/WebKit/public/platform/WebGamepads.h"
-namespace content {
+namespace device {
class GamepadPlatformDataFetcherAndroid : public GamepadDataFetcher {
public:
@@ -36,6 +36,6 @@ class GamepadPlatformDataFetcherAndroid : public GamepadDataFetcher {
DISALLOW_COPY_AND_ASSIGN(GamepadPlatformDataFetcherAndroid);
};
-} // namespace content
+} // namespace device
-#endif // CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_ANDROID_H_
+#endif // DEVICE_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_ANDROID_H_
« no previous file with comments | « device/gamepad/gamepad_platform_data_fetcher.cc ('k') | device/gamepad/gamepad_platform_data_fetcher_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698