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

Side by Side Diff: chrome/browser/chromeos/dbus/sensors_client.h

Issue 8538002: Cleanup: Remove unneeded forward declarations from chrome/browser/chromeos. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix a small nit Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_BROWSER_CHROMEOS_DBUS_SENSORS_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DBUS_SENSORS_CLIENT_H_
6 #define CHROME_BROWSER_CHROMEOS_DBUS_SENSORS_CLIENT_H_ 6 #define CHROME_BROWSER_CHROMEOS_DBUS_SENSORS_CLIENT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 namespace dbus { 10 namespace dbus {
11 class Bus; 11 class Bus;
12 class ObjectProxy;
13 class Signal;
14 } // namespace 12 } // namespace
15 13
16 namespace chromeos { 14 namespace chromeos {
17 15
18 // Creates and manages a dbus signal receiver for device orientation changes, 16 // Creates and manages a dbus signal receiver for device orientation changes,
19 // and eventually receives data for other motion-related sensors. 17 // and eventually receives data for other motion-related sensors.
20 class SensorsClient { 18 class SensorsClient {
21 public: 19 public:
22 virtual ~SensorsClient(); 20 virtual ~SensorsClient();
23 21
24 // Creates the instance. 22 // Creates the instance.
25 static SensorsClient* Create(dbus::Bus* bus); 23 static SensorsClient* Create(dbus::Bus* bus);
26 24
27 protected: 25 protected:
28 // Create() should be used instead. 26 // Create() should be used instead.
29 SensorsClient(); 27 SensorsClient();
30 28
31 private: 29 private:
32 DISALLOW_COPY_AND_ASSIGN(SensorsClient); 30 DISALLOW_COPY_AND_ASSIGN(SensorsClient);
33 }; 31 };
34 32
35 } // namespace chromeos 33 } // namespace chromeos
36 34
37 #endif // CHROME_BROWSER_CHROMEOS_DBUS_SENSORS_CLIENT_H_ 35 #endif // CHROME_BROWSER_CHROMEOS_DBUS_SENSORS_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/dbus/power_manager_client.cc ('k') | chrome/browser/chromeos/frame/browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698