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

Unified Diff: chrome/browser/chromeos/file_manager/mounted_disk_monitor.cc

Issue 240343004: chromeos: Update IdleActionImminent and SuspendDone handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 6 years, 8 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/file_manager/mounted_disk_monitor.cc
diff --git a/chrome/browser/chromeos/file_manager/mounted_disk_monitor.cc b/chrome/browser/chromeos/file_manager/mounted_disk_monitor.cc
index 47b6051dbb84c6a649370fa42a92a212d2f141df..17ecf0a0653de0f010a8572b04cb084da7e49d0d 100644
--- a/chrome/browser/chromeos/file_manager/mounted_disk_monitor.cc
+++ b/chrome/browser/chromeos/file_manager/mounted_disk_monitor.cc
@@ -44,12 +44,12 @@ MountedDiskMonitor::~MountedDiskMonitor() {
void MountedDiskMonitor::SuspendImminent() {
// Flip the resuming flag while suspending, so it is possible to detect
// resuming as soon as possible after the lid is open. Note, that mount
- // events may occur before the SystemResumed method is called.
+ // events may occur before the SuspendDone method is called.
is_resuming_ = true;
weak_factory_.InvalidateWeakPtrs();
}
-void MountedDiskMonitor::SystemResumed(
+void MountedDiskMonitor::SuspendDone(
const base::TimeDelta& sleep_duration) {
// Undo any previous resets. Release the resuming flag after a fixed timeout.
weak_factory_.InvalidateWeakPtrs();

Powered by Google App Engine
This is Rietveld 408576698