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

Unified Diff: device/gamepad/gamepad_platform_data_fetcher_mac.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_mac.h
diff --git a/content/browser/gamepad/gamepad_platform_data_fetcher_mac.h b/device/gamepad/gamepad_platform_data_fetcher_mac.h
similarity index 88%
rename from content/browser/gamepad/gamepad_platform_data_fetcher_mac.h
rename to device/gamepad/gamepad_platform_data_fetcher_mac.h
index 254ebb5ca8f6a65c29f8011cdeb6855f580159f3..36377f761ad0ce4c61590805dc2e8c76788466a4 100644
--- a/content/browser/gamepad/gamepad_platform_data_fetcher_mac.h
+++ b/device/gamepad/gamepad_platform_data_fetcher_mac.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_MAC_H_
-#define CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_MAC_H_
+#ifndef DEVICE_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_MAC_H_
+#define DEVICE_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_MAC_H_
#include <CoreFoundation/CoreFoundation.h>
#include <IOKit/hid/IOHIDManager.h>
@@ -15,9 +15,8 @@
#include "base/mac/scoped_cftyperef.h"
#include "base/macros.h"
#include "build/build_config.h"
-#include "content/browser/gamepad/gamepad_data_fetcher.h"
-#include "content/browser/gamepad/xbox_data_fetcher_mac.h"
-#include "content/common/gamepad_hardware_buffer.h"
+#include "device/gamepad/gamepad_data_fetcher.h"
+#include "device/gamepad/xbox_data_fetcher_mac.h"
#if defined(__OBJC__)
@class NSArray;
@@ -25,7 +24,7 @@
class NSArray;
#endif
-namespace content {
+namespace device {
class GamepadPlatformDataFetcherMac : public GamepadDataFetcher,
public XboxDataFetcher::Delegate {
@@ -101,6 +100,6 @@ class GamepadPlatformDataFetcherMac : public GamepadDataFetcher,
DISALLOW_COPY_AND_ASSIGN(GamepadPlatformDataFetcherMac);
};
-} // namespace content
+} // namespace device
-#endif // CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_MAC_H_
+#endif // DEVICE_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_MAC_H_
« no previous file with comments | « device/gamepad/gamepad_platform_data_fetcher_linux.cc ('k') | device/gamepad/gamepad_platform_data_fetcher_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698