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

Side by Side Diff: chrome/browser/component_updater/crx_update_item.h

Issue 100543005: Update all users of base::Version to explicitly specify the namespace, and clean up the header. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: someday it will work Created 6 years, 12 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 | Annotate | Revision Log
OLDNEW
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 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_CRX_UPDATE_ITEM_H_ 5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_CRX_UPDATE_ITEM_H_
6 #define CHROME_BROWSER_COMPONENT_UPDATER_CRX_UPDATE_ITEM_H_ 6 #define CHROME_BROWSER_COMPONENT_UPDATER_CRX_UPDATE_ITEM_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 std::string id; 77 std::string id;
78 CrxComponent component; 78 CrxComponent component;
79 79
80 base::Time last_check; 80 base::Time last_check;
81 81
82 // A component can be made available for download from several urls. 82 // A component can be made available for download from several urls.
83 std::vector<GURL> crx_urls; 83 std::vector<GURL> crx_urls;
84 std::vector<GURL> crx_diffurls; 84 std::vector<GURL> crx_diffurls;
85 85
86 // The from/to version and fingerprint values. 86 // The from/to version and fingerprint values.
87 Version previous_version; 87 base::Version previous_version;
88 Version next_version; 88 base::Version next_version;
89 std::string previous_fp; 89 std::string previous_fp;
90 std::string next_fp; 90 std::string next_fp;
91 91
92 // True if the current update check cycle is on-demand. 92 // True if the current update check cycle is on-demand.
93 bool on_demand; 93 bool on_demand;
94 94
95 // True if the differential update failed for any reason. 95 // True if the differential update failed for any reason.
96 bool diff_update_failed; 96 bool diff_update_failed;
97 97
98 // The error information for full and differential updates. 98 // The error information for full and differential updates.
(...skipping 25 matching lines...) Expand all
124 return (item->id == id_); 124 return (item->id == id_);
125 } 125 }
126 private: 126 private:
127 const std::string& id_; 127 const std::string& id_;
128 }; 128 };
129 }; 129 };
130 130
131 } // namespace component_updater 131 } // namespace component_updater
132 132
133 #endif // CHROME_BROWSER_COMPONENT_UPDATER_CRX_UPDATE_ITEM_H_ 133 #endif // CHROME_BROWSER_COMPONENT_UPDATER_CRX_UPDATE_ITEM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698