OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_app_manager.h" | 5 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <map> | 9 #include <map> |
8 #include <set> | 10 #include <set> |
9 | 11 |
10 #include "base/barrier_closure.h" | 12 #include "base/barrier_closure.h" |
11 #include "base/bind.h" | 13 #include "base/bind.h" |
12 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
13 #include "base/files/file_util.h" | 15 #include "base/files/file_util.h" |
14 #include "base/logging.h" | 16 #include "base/logging.h" |
15 #include "base/path_service.h" | 17 #include "base/path_service.h" |
16 #include "base/prefs/pref_registry_simple.h" | 18 #include "base/prefs/pref_registry_simple.h" |
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
776 *cache_dir = user_data_dir.AppendASCII(kCrxCacheDir); | 778 *cache_dir = user_data_dir.AppendASCII(kCrxCacheDir); |
777 } | 779 } |
778 | 780 |
779 void KioskAppManager::GetCrxUnpackDir(base::FilePath* unpack_dir) { | 781 void KioskAppManager::GetCrxUnpackDir(base::FilePath* unpack_dir) { |
780 base::FilePath temp_dir; | 782 base::FilePath temp_dir; |
781 base::GetTempDir(&temp_dir); | 783 base::GetTempDir(&temp_dir); |
782 *unpack_dir = temp_dir.AppendASCII(kCrxUnpackDir); | 784 *unpack_dir = temp_dir.AppendASCII(kCrxUnpackDir); |
783 } | 785 } |
784 | 786 |
785 } // namespace chromeos | 787 } // namespace chromeos |
OLD | NEW |