Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1370)

Side by Side Diff: components/update_client/crx_update_item.h

Issue 2266533002: Consistently use namespaced base::Version in components/update_client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « components/update_client/action_update_check.cc ('k') | components/update_client/test_installer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698