diff options
Diffstat (limited to 'chrome/browser/chromeos/power_library.h')
-rw-r--r-- | chrome/browser/chromeos/power_library.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/chromeos/power_library.h b/chrome/browser/chromeos/power_library.h index a44149f..cf32108 100644 --- a/chrome/browser/chromeos/power_library.h +++ b/chrome/browser/chromeos/power_library.h @@ -25,8 +25,9 @@ class PowerLibrary { // This gets the singleton PowerLibrary static PowerLibrary* Get(); - // Returns true if the ChromeOS library was loaded. - static bool loaded(); + // Makes sure the library is loaded, loading it if necessary. Returns true if + // the library has been successfully loaded. + static bool EnsureLoaded(); void AddObserver(Observer* observer); void RemoveObserver(Observer* observer); |