| 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 #ifndef COMPONENTS_UPDATE_CLIENT_CRX_UPDATE_ITEM_H_ | 5 #ifndef COMPONENTS_UPDATE_CLIENT_CRX_UPDATE_ITEM_H_ |
| 6 #define COMPONENTS_UPDATE_CLIENT_CRX_UPDATE_ITEM_H_ | 6 #define COMPONENTS_UPDATE_CLIENT_CRX_UPDATE_ITEM_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 | 87 |
| 88 // A component can be made available for download from several urls. | 88 // A component can be made available for download from several urls. |
| 89 std::vector<GURL> crx_urls; | 89 std::vector<GURL> crx_urls; |
| 90 std::vector<GURL> crx_diffurls; | 90 std::vector<GURL> crx_diffurls; |
| 91 | 91 |
| 92 // The cryptographic hash values for the component payload. | 92 // The cryptographic hash values for the component payload. |
| 93 std::string hash_sha256; | 93 std::string hash_sha256; |
| 94 std::string hashdiff_sha256; | 94 std::string hashdiff_sha256; |
| 95 | 95 |
| 96 // The from/to version and fingerprint values. | 96 // The from/to version and fingerprint values. |
| 97 Version previous_version; | 97 base::Version previous_version; |
| 98 Version next_version; | 98 base::Version next_version; |
| 99 std::string previous_fp; | 99 std::string previous_fp; |
| 100 std::string next_fp; | 100 std::string next_fp; |
| 101 | 101 |
| 102 // True if the current update check cycle is on-demand. | 102 // True if the current update check cycle is on-demand. |
| 103 bool on_demand; | 103 bool on_demand; |
| 104 | 104 |
| 105 // True if the differential update failed for any reason. | 105 // True if the differential update failed for any reason. |
| 106 bool diff_update_failed; | 106 bool diff_update_failed; |
| 107 | 107 |
| 108 // The error information for full and differential updates. | 108 // The error information for full and differential updates. |
| (...skipping 23 matching lines...) Expand all Loading... |
| 132 bool operator()(CrxUpdateItem* item) const { return item->id == id_; } | 132 bool operator()(CrxUpdateItem* item) const { return item->id == id_; } |
| 133 | 133 |
| 134 private: | 134 private: |
| 135 const std::string& id_; | 135 const std::string& id_; |
| 136 }; | 136 }; |
| 137 }; | 137 }; |
| 138 | 138 |
| 139 } // namespace update_client | 139 } // namespace update_client |
| 140 | 140 |
| 141 #endif // COMPONENTS_UPDATE_CLIENT_CRX_UPDATE_ITEM_H_ | 141 #endif // COMPONENTS_UPDATE_CLIENT_CRX_UPDATE_ITEM_H_ |
| OLD | NEW |