OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_GAMEPAD_GAMEPAD_SERVICE_H | 5 #ifndef CONTENT_BROWSER_GAMEPAD_GAMEPAD_SERVICE_H |
6 #define CONTENT_BROWSER_GAMEPAD_GAMEPAD_SERVICE_H | 6 #define CONTENT_BROWSER_GAMEPAD_GAMEPAD_SERVICE_H |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/callback_forward.h" | 9 #include "base/callback_forward.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/memory/shared_memory.h" |
11 #include "base/memory/singleton.h" | 12 #include "base/memory/singleton.h" |
12 #include "base/shared_memory.h" | |
13 #include "base/threading/thread_checker.h" | 13 #include "base/threading/thread_checker.h" |
14 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
15 | 15 |
16 namespace content { | 16 namespace content { |
17 | 17 |
18 class GamepadDataFetcher; | 18 class GamepadDataFetcher; |
19 class GamepadProvider; | 19 class GamepadProvider; |
20 class GamepadServiceTestConstructor; | 20 class GamepadServiceTestConstructor; |
21 class RenderProcessHost; | 21 class RenderProcessHost; |
22 | 22 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 scoped_ptr<GamepadProvider> provider_; | 68 scoped_ptr<GamepadProvider> provider_; |
69 | 69 |
70 base::ThreadChecker thread_checker_; | 70 base::ThreadChecker thread_checker_; |
71 | 71 |
72 DISALLOW_COPY_AND_ASSIGN(GamepadService); | 72 DISALLOW_COPY_AND_ASSIGN(GamepadService); |
73 }; | 73 }; |
74 | 74 |
75 } // namespace content | 75 } // namespace content |
76 | 76 |
77 #endif // CONTENT_BROWSER_GAMEPAD_GAMEPAD_SERVICE_H_ | 77 #endif // CONTENT_BROWSER_GAMEPAD_GAMEPAD_SERVICE_H_ |
OLD | NEW |