Index: chrome/browser/chromeos/chrome_browser_main_chromeos.cc |
diff --git a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc |
index edd09d6ea51f8aeb18f75b5d437b39f97022646b..68ded0b4b858b03ac72192aae956178440b7e5aa 100644 |
--- a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc |
+++ b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc |
@@ -77,6 +77,7 @@ |
#include "chrome/browser/chromeos/settings/device_settings_service.h" |
#include "chrome/browser/chromeos/status/data_promo_notification.h" |
#include "chrome/browser/chromeos/system/input_device_settings.h" |
+#include "chrome/browser/chromeos/ui/low_disk_notification.h" |
#include "chrome/browser/chromeos/upgrade_detector_chromeos.h" |
#include "chrome/browser/defaults.h" |
#include "chrome/browser/lifetime/application_lifetime.h" |
@@ -680,6 +681,10 @@ void ChromeBrowserMainPartsChromeos::PostProfileInit() { |
arc::ArcServiceManager::Get()->OnAshStarted(); |
} |
+ // Start watching for low disk space events to notify the user. |
+ low_disk_notification_.reset( |
+ new LowDiskNotification(DBusThreadManager::Get()->GetCryptohomeClient())); |
yoshiki
2016/06/23 08:00:45
Please free this instance explicitly before DBusTh
dspaid
2016/06/27 05:40:04
Done.
|
+ |
ChromeBrowserMainPartsLinux::PostProfileInit(); |
} |