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

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

Issue 8400034: chromeos: Add a stub implementation for SensorsSource. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_DBUS_SENSORS_CLIENT_H_
6 #define CHROME_BROWSER_CHROMEOS_DBUS_SENSORS_CLIENT_H_
7
8 #include "base/basictypes.h"
9
10 namespace dbus {
11 class Bus;
12 class ObjectProxy;
13 class Signal;
14 } // namespace
15
16 namespace chromeos {
17
18 // Creates and manages a dbus signal receiver for device orientation changes,
19 // and eventually receives data for other motion-related sensors.
20 class SensorsClient {
21 public:
22 virtual ~SensorsClient();
23
24 // Creates the instance.
25 static SensorsClient* Create(dbus::Bus* bus);
26
27 protected:
28 // Create() should be used instead.
29 SensorsClient();
30
31 private:
32 DISALLOW_COPY_AND_ASSIGN(SensorsClient);
33 };
34
35 } // namespace chromeos
36
37 #endif // CHROME_BROWSER_CHROMEOS_DBUS_SENSORS_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/dbus/power_manager_client.h ('k') | chrome/browser/chromeos/dbus/sensors_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698