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

Unified Diff: chromeos/dbus/power_supply_status.h

Issue 9837075: Move power_supply_status.* from src/ash to src/chromeos (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix dependency position Created 8 years, 9 months 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 side-by-side diff with in-line comments
Download patch
Index: chromeos/dbus/power_supply_status.h
diff --git a/ash/system/power/power_supply_status.h b/chromeos/dbus/power_supply_status.h
similarity index 67%
rename from ash/system/power/power_supply_status.h
rename to chromeos/dbus/power_supply_status.h
index c70101bb7d6622525001ac357ca51e7dac6facb1..520e27df0c69bf47d718c57ca0d9b23268b8042d 100644
--- a/ash/system/power/power_supply_status.h
+++ b/chromeos/dbus/power_supply_status.h
@@ -2,17 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef ASH_SYSTEM_POWER_POWER_SUPPLY_STATUS_H_
-#define ASH_SYSTEM_POWER_POWER_SUPPLY_STATUS_H_
+#ifndef CHROMEOS_DBUS_POWER_SUPPLY_STATUS_H_
+#define CHROMEOS_DBUS_POWER_SUPPLY_STATUS_H_
#include <string>
-#include "ash/ash_export.h"
#include "base/basictypes.h"
-namespace ash {
+namespace chromeos {
-struct ASH_EXPORT PowerSupplyStatus {
+struct PowerSupplyStatus {
bool line_power_on;
bool battery_is_present;
@@ -28,6 +27,6 @@ struct ASH_EXPORT PowerSupplyStatus {
std::string ToString() const;
};
-} // namespace ash
+} // namespace chromeos
-#endif // ASH_SYSTEM_POWER_POWER_SUPPLY_STATUS_H_
+#endif // CHROMEOS_DBUS_POWER_SUPPLY_STATUS_H_

Powered by Google App Engine
This is Rietveld 408576698