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

Unified Diff: device/gamepad/xbox_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
« no previous file with comments | « device/gamepad/raw_input_data_fetcher_win.cc ('k') | device/gamepad/xbox_data_fetcher_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/gamepad/xbox_data_fetcher_mac.h
diff --git a/content/browser/gamepad/xbox_data_fetcher_mac.h b/device/gamepad/xbox_data_fetcher_mac.h
similarity index 94%
rename from content/browser/gamepad/xbox_data_fetcher_mac.h
rename to device/gamepad/xbox_data_fetcher_mac.h
index e4b98ff7fe217697e324e2a46c37506616f1fd76..13303d10632a86fb3187349cb3bafc71b09339f7 100644
--- a/content/browser/gamepad/xbox_data_fetcher_mac.h
+++ b/device/gamepad/xbox_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_XBOX_DATA_FETCHER_MAC_H_
-#define CONTENT_BROWSER_GAMEPAD_XBOX_DATA_FETCHER_MAC_H_
+#ifndef DEVICE_GAMEPAD_XBOX_DATA_FETCHER_MAC_H_
+#define DEVICE_GAMEPAD_XBOX_DATA_FETCHER_MAC_H_
#include <CoreFoundation/CoreFoundation.h>
#include <IOKit/IOKitLib.h>
@@ -151,10 +151,10 @@ class XboxDataFetcher : public XboxController::Delegate {
bool RegisterForNotifications();
bool RegisterForDeviceNotifications(
- int vendor_id,
- int product_id,
- base::mac::ScopedIOObject<io_iterator_t>* added_iter,
- base::mac::ScopedIOObject<io_iterator_t>* removed_iter);
+ int vendor_id,
+ int product_id,
+ base::mac::ScopedIOObject<io_iterator_t>* added_iter,
+ base::mac::ScopedIOObject<io_iterator_t>* removed_iter);
void UnregisterFromNotifications();
XboxController* ControllerForLocation(UInt32 location_id);
@@ -187,4 +187,4 @@ class XboxDataFetcher : public XboxController::Delegate {
DISALLOW_COPY_AND_ASSIGN(XboxDataFetcher);
};
-#endif // CONTENT_BROWSER_GAMEPAD_XBOX_DATA_FETCHER_MAC_H_
+#endif // DEVICE_GAMEPAD_XBOX_DATA_FETCHER_MAC_H_
« no previous file with comments | « device/gamepad/raw_input_data_fetcher_win.cc ('k') | device/gamepad/xbox_data_fetcher_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698