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

Side by Side Diff: content/browser/gamepad/gamepad_service.h

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
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 <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 10
(...skipping 11 matching lines...) Expand all
22 22
23 namespace device { 23 namespace device {
24 class GamepadConsumer; 24 class GamepadConsumer;
25 class GamepadDataFetcher; 25 class GamepadDataFetcher;
26 class GamepadProvider; 26 class GamepadProvider;
27 } 27 }
28 28
29 namespace content { 29 namespace content {
30 30
31 class GamepadServiceTestConstructor; 31 class GamepadServiceTestConstructor;
32 class RenderProcessHost;
33 32
34 // Owns the GamepadProvider (the background polling thread) and keeps track of 33 // Owns the GamepadProvider (the background polling thread) and keeps track of
35 // the number of consumers currently using the data (and pausing the provider 34 // the number of consumers currently using the data (and pausing the provider
36 // when not in use). 35 // when not in use).
37 class CONTENT_EXPORT GamepadService 36 class CONTENT_EXPORT GamepadService
38 : public device::GamepadConnectionChangeClient { 37 : public device::GamepadConnectionChangeClient {
39 public: 38 public:
40 // Returns the GamepadService singleton. 39 // Returns the GamepadService singleton.
41 static GamepadService* GetInstance(); 40 static GamepadService* GetInstance();
42 41
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 int num_active_consumers_; 130 int num_active_consumers_;
132 131
133 bool gesture_callback_pending_; 132 bool gesture_callback_pending_;
134 133
135 DISALLOW_COPY_AND_ASSIGN(GamepadService); 134 DISALLOW_COPY_AND_ASSIGN(GamepadService);
136 }; 135 };
137 136
138 } // namespace content 137 } // namespace content
139 138
140 #endif // CONTENT_BROWSER_GAMEPAD_GAMEPAD_SERVICE_H_ 139 #endif // CONTENT_BROWSER_GAMEPAD_GAMEPAD_SERVICE_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_widget_host_view_guest.h ('k') | content/browser/gpu/gpu_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698