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

Unified Diff: device/gamepad/gamepad_platform_data_fetcher_linux.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_linux.h
diff --git a/content/browser/gamepad/gamepad_platform_data_fetcher_linux.h b/device/gamepad/gamepad_platform_data_fetcher_linux.h
similarity index 76%
rename from content/browser/gamepad/gamepad_platform_data_fetcher_linux.h
rename to device/gamepad/gamepad_platform_data_fetcher_linux.h
index a260760d9c109cee693a2f3862a70d5444a68955..39907c9b6af48f14bdee8eeb5f3e396febb347e4 100644
--- a/content/browser/gamepad/gamepad_platform_data_fetcher_linux.h
+++ b/device/gamepad/gamepad_platform_data_fetcher_linux.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_LINUX_H_
-#define CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_LINUX_H_
+#ifndef DEVICE_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_LINUX_H_
+#define DEVICE_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_LINUX_H_
#include <stddef.h>
@@ -12,7 +12,7 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "content/browser/gamepad/gamepad_data_fetcher.h"
+#include "device/gamepad/gamepad_data_fetcher.h"
extern "C" {
struct udev_device;
@@ -22,7 +22,7 @@ namespace device {
class UdevLinux;
}
-namespace content {
+namespace device {
class GamepadPlatformDataFetcherLinux : public GamepadDataFetcher {
public:
@@ -46,6 +46,6 @@ class GamepadPlatformDataFetcherLinux : public GamepadDataFetcher {
DISALLOW_COPY_AND_ASSIGN(GamepadPlatformDataFetcherLinux);
};
-} // namespace content
+} // namespace device
-#endif // CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_LINUX_H_
+#endif // DEVICE_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_LINUX_H_
« no previous file with comments | « device/gamepad/gamepad_platform_data_fetcher_android.cc ('k') | device/gamepad/gamepad_platform_data_fetcher_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698