OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/app_mode/kiosk_external_updater.h" | 5 #include "chrome/browser/chromeos/app_mode/kiosk_external_updater.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/file_util.h" | |
9 #include "base/files/file_enumerator.h" | 8 #include "base/files/file_enumerator.h" |
| 9 #include "base/files/file_util.h" |
10 #include "base/json/json_file_value_serializer.h" | 10 #include "base/json/json_file_value_serializer.h" |
11 #include "base/location.h" | 11 #include "base/location.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
14 #include "base/version.h" | 14 #include "base/version.h" |
15 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" | 15 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" |
16 #include "chrome/browser/chromeos/ui/kiosk_external_update_notification.h" | 16 #include "chrome/browser/chromeos/ui/kiosk_external_update_notification.h" |
17 #include "chrome/browser/extensions/sandboxed_unpacker.h" | 17 #include "chrome/browser/extensions/sandboxed_unpacker.h" |
18 #include "chrome/common/chrome_version_info.h" | 18 #include "chrome/common/chrome_version_info.h" |
19 #include "content/public/browser/browser_thread.h" | 19 #include "content/public/browser/browser_thread.h" |
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
524 if (failed) { | 524 if (failed) { |
525 failed_app_msg = ui::ResourceBundle::GetSharedInstance().GetLocalizedString( | 525 failed_app_msg = ui::ResourceBundle::GetSharedInstance().GetLocalizedString( |
526 IDS_KIOSK_EXTERNAL_UPDATE_FAILED_UPDATED_APPS) + | 526 IDS_KIOSK_EXTERNAL_UPDATE_FAILED_UPDATED_APPS) + |
527 base::ASCIIToUTF16("\n") + failed_apps; | 527 base::ASCIIToUTF16("\n") + failed_apps; |
528 message = message + base::ASCIIToUTF16("\n") + failed_app_msg; | 528 message = message + base::ASCIIToUTF16("\n") + failed_app_msg; |
529 } | 529 } |
530 return message; | 530 return message; |
531 } | 531 } |
532 | 532 |
533 } // namespace chromeos | 533 } // namespace chromeos |
OLD | NEW |