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

Unified Diff: ash/common/system/chromeos/power/battery_notification.h

Issue 2732813002: chromeos: Move files in //ash/common to //ash, part 1 (Closed)
Patch Set: rebase Created 3 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: ash/common/system/chromeos/power/battery_notification.h
diff --git a/ash/common/system/chromeos/power/battery_notification.h b/ash/common/system/chromeos/power/battery_notification.h
deleted file mode 100644
index fa69832090989cac88f9ac439b5aa0db9b8c92c2..0000000000000000000000000000000000000000
--- a/ash/common/system/chromeos/power/battery_notification.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ASH_COMMON_SYSTEM_CHROMEOS_POWER_BATTERY_NOTIFICATION_H_
-#define ASH_COMMON_SYSTEM_CHROMEOS_POWER_BATTERY_NOTIFICATION_H_
-
-#include "ash/ash_export.h"
-#include "ash/common/system/chromeos/power/tray_power.h"
-#include "base/macros.h"
-
-namespace message_center {
-class MessageCenter;
-}
-
-namespace ash {
-
-// Class for showing and hiding a MessageCenter low battery notification.
-class ASH_EXPORT BatteryNotification {
- public:
- BatteryNotification(message_center::MessageCenter* message_center,
- TrayPower::NotificationState notification_state);
- ~BatteryNotification();
-
- // Updates the notification if it still exists.
- void Update(TrayPower::NotificationState notification_state);
-
- private:
- message_center::MessageCenter* message_center_;
-
- DISALLOW_COPY_AND_ASSIGN(BatteryNotification);
-};
-
-} // namespace ash
-
-#endif // ASH_COMMON_SYSTEM_CHROMEOS_POWER_BATTERY_NOTIFICATION_H_

Powered by Google App Engine
This is Rietveld 408576698