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

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

Issue 8538002: Cleanup: Remove unneeded forward declarations from chrome/browser/chromeos. (Closed) Base URL: svn://chrome-svn/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
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_POWER_MANAGER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DBUS_POWER_MANAGER_CLIENT_H_
6 #define CHROME_BROWSER_CHROMEOS_DBUS_POWER_MANAGER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROMEOS_DBUS_POWER_MANAGER_CLIENT_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include <string>
9 #include "base/observer_list.h"
10 9
11 #include <string> 10 #include "base/basictypes.h"
12 11
13 namespace dbus { 12 namespace dbus {
14 class Bus; 13 class Bus;
15 class ObjectProxy;
16 class Response;
17 class Signal;
18 } // namespace 14 } // namespace
19 15
20 namespace chromeos { 16 namespace chromeos {
21 17
22 // This is the local struct that is used in Chrome. 18 // This is the local struct that is used in Chrome.
23 struct PowerSupplyStatus { 19 struct PowerSupplyStatus {
24 bool line_power_on; 20 bool line_power_on;
25 21
26 bool battery_is_present; 22 bool battery_is_present;
27 bool battery_is_full; 23 bool battery_is_full;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 // Create() should be used instead. 71 // Create() should be used instead.
76 PowerManagerClient(); 72 PowerManagerClient();
77 73
78 private: 74 private:
79 DISALLOW_COPY_AND_ASSIGN(PowerManagerClient); 75 DISALLOW_COPY_AND_ASSIGN(PowerManagerClient);
80 }; 76 };
81 77
82 } // namespace chromeos 78 } // namespace chromeos
83 79
84 #endif // CHROME_BROWSER_CHROMEOS_DBUS_POWER_MANAGER_CLIENT_H_ 80 #endif // CHROME_BROWSER_CHROMEOS_DBUS_POWER_MANAGER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698