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

Unified Diff: chrome/browser/chromeos/cros/fake/fake_power_library.h

Issue 2847072: Green Tree Tactical Force: Revert skrul's bad commits (probably a git-cl bug). (Closed)
Patch Set: Created 10 years, 5 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: chrome/browser/chromeos/cros/fake/fake_power_library.h
diff --git a/chrome/browser/chromeos/cros/fake/fake_power_library.h b/chrome/browser/chromeos/cros/fake/fake_power_library.h
deleted file mode 100644
index ce9e07b5058021daa3ac63584fe59ce282b2ab09..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/cros/fake/fake_power_library.h
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright (c) 2010 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 CHROME_BROWSER_CHROMEOS_CROS_FAKE_FAKE_POWER_LIBRARY_H_
-#define CHROME_BROWSER_CHROMEOS_CROS_FAKE_FAKE_POWER_LIBRARY_H_
-
-#include "chrome/browser/chromeos/cros/power_library.h"
-
-namespace chromeos {
-
-class FakePowerLibrary : public PowerLibrary {
- public:
- FakePowerLibrary() {}
- virtual ~FakePowerLibrary() {}
- virtual void AddObserver(Observer* observer) {}
- virtual void RemoveObserver(Observer* observer) {}
- virtual bool line_power_on() const { return true; }
- virtual bool battery_fully_charged() const { return true; }
- virtual double battery_percentage() const { return 100; }
- virtual bool battery_is_present() const { return true; }
- virtual base::TimeDelta battery_time_to_empty() const {
- return base::TimeDelta::FromSeconds(0);
- }
- virtual base::TimeDelta battery_time_to_full() const {
- return base::TimeDelta::FromSeconds(0);
- }
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_CROS_FAKE_FAKE_POWER_LIBRARY_H_
« no previous file with comments | « chrome/browser/chromeos/cros/fake/fake_network_library.h ('k') | chrome/browser/chromeos/cros/fake/fake_screen_lock_library.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698