OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_INSTALL_PLAN_H__ | 5 #ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_INSTALL_PLAN_H__ |
6 #define CHROMEOS_PLATFORM_UPDATE_ENGINE_INSTALL_PLAN_H__ | 6 #define CHROMEOS_PLATFORM_UPDATE_ENGINE_INSTALL_PLAN_H__ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include "chromeos/obsolete_logging.h" | 9 #include "base/logging.h" |
10 | 10 |
11 // InstallPlan is a simple struct that contains relevant info for many | 11 // InstallPlan is a simple struct that contains relevant info for many |
12 // parts of the update system about the install that should happen. | 12 // parts of the update system about the install that should happen. |
13 | 13 |
14 namespace chromeos_update_engine { | 14 namespace chromeos_update_engine { |
15 | 15 |
16 struct InstallPlan { | 16 struct InstallPlan { |
17 InstallPlan(bool is_full, | 17 InstallPlan(bool is_full, |
18 const std::string& url, | 18 const std::string& url, |
19 uint64_t size, | 19 uint64_t size, |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 << ", size: " << size | 53 << ", size: " << size |
54 << ", hash: " << download_hash | 54 << ", hash: " << download_hash |
55 << ", install_path: " << install_path | 55 << ", install_path: " << install_path |
56 << ", kernel_install_path: " << kernel_install_path; | 56 << ", kernel_install_path: " << kernel_install_path; |
57 } | 57 } |
58 }; | 58 }; |
59 | 59 |
60 } // namespace chromeos_update_engine | 60 } // namespace chromeos_update_engine |
61 | 61 |
62 #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_INSTALL_PLAN_H__ | 62 #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_INSTALL_PLAN_H__ |
OLD | NEW |