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

Unified Diff: content/browser/gamepad/gamepad_shared_buffer_impl.h

Issue 2563483006: Move gamepad_service out of content/ and into device/ (Closed)
Patch Set: addressed Blundell's review comments Created 4 years 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: content/browser/gamepad/gamepad_shared_buffer_impl.h
diff --git a/content/browser/gamepad/gamepad_shared_buffer_impl.h b/content/browser/gamepad/gamepad_shared_buffer_impl.h
deleted file mode 100644
index fd2fa42eb95c4ce1cc4e2f745c24c265bfe299a2..0000000000000000000000000000000000000000
--- a/content/browser/gamepad/gamepad_shared_buffer_impl.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) 2016 The Chromium Authors. All rights reserved.
-// 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_SHARED_BUFFER_IMPL_H_
-#define CONTENT_BROWSER_GAMEPAD_GAMEPAD_SHARED_BUFFER_IMPL_H_
-
-#include "device/gamepad/gamepad_shared_buffer.h"
-#include "third_party/WebKit/public/platform/WebGamepads.h"
-
-namespace content {
-
-struct GamepadHardwareBuffer;
-
-class GamepadSharedBufferImpl : public device::GamepadSharedBuffer {
- public:
- GamepadSharedBufferImpl();
- ~GamepadSharedBufferImpl() override;
-
- base::SharedMemory* shared_memory() override;
- blink::WebGamepads* buffer() override;
- GamepadHardwareBuffer* hardware_buffer();
-
- void WriteBegin() override;
- void WriteEnd() override;
-
- private:
- base::SharedMemory shared_memory_;
-
- DISALLOW_COPY_AND_ASSIGN(GamepadSharedBufferImpl);
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_GAMEPAD_GAMEPAD_SHARED_BUFFER_IMPL_H_
« no previous file with comments | « content/browser/gamepad/gamepad_service_unittest.cc ('k') | content/browser/gamepad/gamepad_shared_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698