Index: chrome/browser/chromeos/extensions/file_browser_event_router.cc |
diff --git a/chrome/browser/chromeos/extensions/file_browser_event_router.cc b/chrome/browser/chromeos/extensions/file_browser_event_router.cc |
index d8c7284eba5f588a3df37774f1f92490c3a76777..af7d5a70d4d85c0604a7f9b72d839e11887d3480 100644 |
--- a/chrome/browser/chromeos/extensions/file_browser_event_router.cc |
+++ b/chrome/browser/chromeos/extensions/file_browser_event_router.cc |
@@ -580,7 +580,7 @@ void FileBrowserEventRouter::OnDeviceAdded( |
notifications_->RegisterDevice(device_path); |
notifications_->ShowNotificationDelayed(FileBrowserNotifications::DEVICE, |
device_path, |
- 5000); |
+ base::TimeDelta::FromSeconds(5)); |
} |
void FileBrowserEventRouter::OnDeviceRemoved( |
@@ -625,7 +625,9 @@ void FileBrowserEventRouter::OnFormattingFinished( |
device_path); |
// Hide it after a couple of seconds. |
notifications_->HideNotificationDelayed( |
- FileBrowserNotifications::FORMAT_SUCCESS, device_path, 4000); |
+ FileBrowserNotifications::FORMAT_SUCCESS, |
+ device_path, |
+ base::TimeDelta::FromSeconds(4)); |
// MountPath auto-detects filesystem format if second argument is empty. |
// The third argument (mount label) is not used in a disk mount operation. |
DiskMountManager::GetInstance()->MountPath(device_path, std::string(), |