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

Side by Side Diff: ash/system/power/power_status_observer.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 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 ASH_SYSTEM_POWER_POWER_STATUS_OBSERVER_H_ 5 #ifndef ASH_SYSTEM_POWER_POWER_STATUS_OBSERVER_H_
6 #define ASH_SYSTEM_POWER_POWER_STATUS_OBSERVER_H_ 6 #define ASH_SYSTEM_POWER_POWER_STATUS_OBSERVER_H_
7 7
8 namespace ash { 8 namespace chromeos {
oshima 2012/03/24 06:46:04 did you mean to move this to chromeos/dbus?
hashimoto 2012/03/24 07:36:00 I want to move this to ::chromeos because PowerMan
oshima 2012/03/24 19:15:30 Not sure if I understand. Can you elaborate?
hashimoto 2012/03/25 07:09:31 The reason why I place PowerSupplyStatus under nam
9 9
10 struct PowerSupplyStatus; 10 struct PowerSupplyStatus;
11 11
12 } // namespace chromeos
13
14 namespace ash {
15
12 class PowerStatusObserver { 16 class PowerStatusObserver {
13 public: 17 public:
14 virtual ~PowerStatusObserver() {} 18 virtual ~PowerStatusObserver() {}
15 19
16 virtual void OnPowerStatusChanged(const PowerSupplyStatus& status) = 0; 20 virtual void OnPowerStatusChanged(
21 const chromeos::PowerSupplyStatus& status) = 0;
17 }; 22 };
18 23
19 }; 24 };
20 25
21 #endif // ASH_SYSTEM_POWER_POWER_STATUS_OBSERVER_H_ 26 #endif // ASH_SYSTEM_POWER_POWER_STATUS_OBSERVER_H_
OLDNEW
« no previous file with comments | « ash/shell.cc ('k') | ash/system/power/power_supply_status.h » ('j') | chromeos/chromeos.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698