OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/chromeos/arc/arc_boot_error_notification.h" | 5 #include "chrome/browser/chromeos/arc/notification/arc_boot_error_notification.h
" |
6 | 6 |
7 #include "base/macros.h" | 7 #include "base/macros.h" |
8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
9 #include "chrome/browser/profiles/profile_manager.h" | 9 #include "chrome/browser/profiles/profile_manager.h" |
10 #include "chrome/browser/ui/chrome_pages.h" | 10 #include "chrome/browser/ui/chrome_pages.h" |
11 #include "chrome/grit/generated_resources.h" | 11 #include "chrome/grit/generated_resources.h" |
12 #include "components/user_manager/user_manager.h" | 12 #include "components/user_manager/user_manager.h" |
13 #include "ui/base/l10n/l10n_util.h" | 13 #include "ui/base/l10n/l10n_util.h" |
14 #include "ui/base/resource/resource_bundle.h" | 14 #include "ui/base/resource/resource_bundle.h" |
15 #include "ui/chromeos/resources/grit/ui_chromeos_resources.h" | 15 #include "ui/chromeos/resources/grit/ui_chromeos_resources.h" |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 } | 84 } |
85 | 85 |
86 void ArcBootErrorNotification::OnBridgeStopped( | 86 void ArcBootErrorNotification::OnBridgeStopped( |
87 ArcBridgeService::StopReason reason) { | 87 ArcBridgeService::StopReason reason) { |
88 if (reason == ArcBridgeService::StopReason::LOW_DISK_SPACE) { | 88 if (reason == ArcBridgeService::StopReason::LOW_DISK_SPACE) { |
89 ShowLowDiskSpaceErrorNotification(); | 89 ShowLowDiskSpaceErrorNotification(); |
90 } | 90 } |
91 } | 91 } |
92 | 92 |
93 } // namespace arc | 93 } // namespace arc |
OLD | NEW |