Alex Deymo | aea4c1c | 2015-08-19 20:24:43 -0700 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2011 The Android Open Source Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | // |
Darin Petkov | a4a8a8c | 2010-07-15 22:21:12 -0700 | [diff] [blame] | 16 | |
Amin Hassani | ec7bc11 | 2020-10-29 16:47:58 -0700 | [diff] [blame] | 17 | #include "update_engine/cros/omaha_request_params.h" |
Darin Petkov | a4a8a8c | 2010-07-15 22:21:12 -0700 | [diff] [blame] | 18 | |
| 19 | #include <errno.h> |
| 20 | #include <fcntl.h> |
| 21 | #include <sys/utsname.h> |
| 22 | |
| 23 | #include <map> |
| 24 | #include <string> |
Darin Petkov | a3df55b | 2010-11-15 13:33:55 -0800 | [diff] [blame] | 25 | #include <vector> |
Darin Petkov | a4a8a8c | 2010-07-15 22:21:12 -0700 | [diff] [blame] | 26 | |
Ben Chan | 06c76a4 | 2014-09-05 08:21:06 -0700 | [diff] [blame] | 27 | #include <base/files/file_util.h> |
hscham | 00b6aa2 | 2020-02-20 12:32:06 +0900 | [diff] [blame] | 28 | #include <base/stl_util.h> |
Alex Vakulenko | 75039d7 | 2014-03-25 12:36:28 -0700 | [diff] [blame] | 29 | #include <base/strings/string_util.h> |
Alex Deymo | d942f9d | 2015-11-06 16:11:50 -0800 | [diff] [blame] | 30 | #include <base/strings/stringprintf.h> |
Alex Vakulenko | 3f39d5c | 2015-10-13 09:27:13 -0700 | [diff] [blame] | 31 | #include <brillo/key_value_store.h> |
Alex Deymo | d942f9d | 2015-11-06 16:11:50 -0800 | [diff] [blame] | 32 | #include <brillo/strings/string_utils.h> |
Patrick Dubroy | 7fbbe8a | 2011-08-01 17:28:22 +0200 | [diff] [blame] | 33 | #include <policy/device_policy.h> |
Darin Petkov | 49d9132 | 2010-10-25 16:34:58 -0700 | [diff] [blame] | 34 | |
Alex Deymo | 39910dc | 2015-11-09 17:04:30 -0800 | [diff] [blame] | 35 | #include "update_engine/common/constants.h" |
| 36 | #include "update_engine/common/hardware_interface.h" |
| 37 | #include "update_engine/common/platform_constants.h" |
Amin Hassani | ec7bc11 | 2020-10-29 16:47:58 -0700 | [diff] [blame] | 38 | #include "update_engine/common/system_state.h" |
Alex Deymo | 39910dc | 2015-11-09 17:04:30 -0800 | [diff] [blame] | 39 | #include "update_engine/common/utils.h" |
Amin Hassani | e815363 | 2020-10-27 15:11:28 -0700 | [diff] [blame] | 40 | #include "update_engine/update_manager/policy.h" |
Darin Petkov | a4a8a8c | 2010-07-15 22:21:12 -0700 | [diff] [blame] | 41 | |
Darin Petkov | 49d9132 | 2010-10-25 16:34:58 -0700 | [diff] [blame] | 42 | #define CALL_MEMBER_FN(object, member) ((object).*(member)) |
| 43 | |
Amin Hassani | e815363 | 2020-10-27 15:11:28 -0700 | [diff] [blame] | 44 | using chromeos_update_manager::UpdateCheckParams; |
Darin Petkov | a4a8a8c | 2010-07-15 22:21:12 -0700 | [diff] [blame] | 45 | using std::string; |
| 46 | |
Darin Petkov | a4a8a8c | 2010-07-15 22:21:12 -0700 | [diff] [blame] | 47 | namespace chromeos_update_engine { |
| 48 | |
David Pursell | 02c1864 | 2014-11-06 11:26:11 -0800 | [diff] [blame] | 49 | const char OmahaRequestParams::kOsVersion[] = "Indy"; |
Patrick Dubroy | 7fbbe8a | 2011-08-01 17:28:22 +0200 | [diff] [blame] | 50 | |
Jay Srinivasan | ae4697c | 2013-03-18 17:08:08 -0700 | [diff] [blame] | 51 | const char* kChannelsByStability[] = { |
| 52 | // This list has to be sorted from least stable to most stable channel. |
| 53 | "canary-channel", |
| 54 | "dev-channel", |
| 55 | "beta-channel", |
| 56 | "stable-channel", |
| 57 | }; |
Darin Petkov | 49d9132 | 2010-10-25 16:34:58 -0700 | [diff] [blame] | 58 | |
Alex Deymo | 3be05c8 | 2015-10-23 11:29:11 -0700 | [diff] [blame] | 59 | OmahaRequestParams::~OmahaRequestParams() { |
| 60 | if (!root_.empty()) |
| 61 | test::SetImagePropertiesRootPrefix(nullptr); |
| 62 | } |
| 63 | |
Amin Hassani | e815363 | 2020-10-27 15:11:28 -0700 | [diff] [blame] | 64 | bool OmahaRequestParams::Init(const string& app_version, |
| 65 | const string& update_url, |
| 66 | const UpdateCheckParams& params) { |
Jay Srinivasan | 1c0fe79 | 2013-03-28 16:45:25 -0700 | [diff] [blame] | 67 | LOG(INFO) << "Initializing parameters for this update attempt"; |
Amin Hassani | 538bd59 | 2020-11-04 20:46:08 -0800 | [diff] [blame] | 68 | image_props_ = LoadImageProperties(); |
| 69 | mutable_image_props_ = LoadMutableImageProperties(); |
Alex Deymo | 8561665 | 2015-10-15 18:48:31 -0700 | [diff] [blame] | 70 | |
Saint Chou | aff51c2 | 2020-07-29 14:14:21 +0000 | [diff] [blame] | 71 | // Validation check the channel names. |
Alex Deymo | 8561665 | 2015-10-15 18:48:31 -0700 | [diff] [blame] | 72 | if (!IsValidChannel(image_props_.current_channel)) |
| 73 | image_props_.current_channel = "stable-channel"; |
| 74 | if (!IsValidChannel(mutable_image_props_.target_channel)) |
| 75 | mutable_image_props_.target_channel = image_props_.current_channel; |
| 76 | UpdateDownloadChannel(); |
| 77 | |
| 78 | LOG(INFO) << "Running from channel " << image_props_.current_channel; |
| 79 | |
Alex Deymo | ac41a82 | 2015-09-15 20:52:53 -0700 | [diff] [blame] | 80 | os_platform_ = constants::kOmahaPlatformName; |
Amin Hassani | 24e1d72 | 2020-10-28 17:47:58 -0700 | [diff] [blame] | 81 | os_version_ = OmahaRequestParams::kOsVersion; |
Amin Hassani | e815363 | 2020-10-27 15:11:28 -0700 | [diff] [blame] | 82 | if (!app_version.empty()) |
| 83 | image_props_.version = app_version; |
Alex Deymo | 8561665 | 2015-10-15 18:48:31 -0700 | [diff] [blame] | 84 | |
| 85 | os_sp_ = image_props_.version + "_" + GetMachineType(); |
Jay Srinivasan | ae4697c | 2013-03-18 17:08:08 -0700 | [diff] [blame] | 86 | app_lang_ = "en-US"; |
Amin Hassani | 538bd59 | 2020-11-04 20:46:08 -0800 | [diff] [blame] | 87 | hwid_ = SystemState::Get()->hardware()->GetHardwareClass(); |
| 88 | device_requisition_ = SystemState::Get()->hardware()->GetDeviceRequisition(); |
Patrick Dubroy | 7fbbe8a | 2011-08-01 17:28:22 +0200 | [diff] [blame] | 89 | |
Alex Deymo | 8561665 | 2015-10-15 18:48:31 -0700 | [diff] [blame] | 90 | if (image_props_.current_channel == mutable_image_props_.target_channel) { |
Jay Srinivasan | ae4697c | 2013-03-18 17:08:08 -0700 | [diff] [blame] | 91 | // deltas are only okay if the /.nodelta file does not exist. if we don't |
| 92 | // know (i.e. stat() returns some unexpected error), then err on the side of |
| 93 | // caution and say deltas are not okay. |
| 94 | struct stat stbuf; |
Amin Hassani | 7cc8bb0 | 2019-01-14 16:29:47 -0800 | [diff] [blame] | 95 | delta_okay_ = |
| 96 | (stat((root_ + "/.nodelta").c_str(), &stbuf) < 0) && (errno == ENOENT); |
Patrick Dubroy | 7fbbe8a | 2011-08-01 17:28:22 +0200 | [diff] [blame] | 97 | } else { |
Alex Deymo | 8561665 | 2015-10-15 18:48:31 -0700 | [diff] [blame] | 98 | LOG(INFO) << "Disabling deltas as a channel change to " |
| 99 | << mutable_image_props_.target_channel |
| 100 | << " is pending, with is_powerwash_allowed=" |
| 101 | << utils::ToString(mutable_image_props_.is_powerwash_allowed); |
Jay Srinivasan | ae4697c | 2013-03-18 17:08:08 -0700 | [diff] [blame] | 102 | // For now, disable delta updates if the current channel is different from |
| 103 | // the channel that we're sending to the update server because such updates |
| 104 | // are destined to fail -- the current rootfs hash will be different than |
| 105 | // the expected hash due to the different channel in /etc/lsb-release. |
| 106 | delta_okay_ = false; |
Patrick Dubroy | 7fbbe8a | 2011-08-01 17:28:22 +0200 | [diff] [blame] | 107 | } |
| 108 | |
Amin Hassani | e815363 | 2020-10-27 15:11:28 -0700 | [diff] [blame] | 109 | if (update_url.empty()) |
Alex Deymo | 8561665 | 2015-10-15 18:48:31 -0700 | [diff] [blame] | 110 | update_url_ = image_props_.omaha_url; |
Jay Srinivasan | ae4697c | 2013-03-18 17:08:08 -0700 | [diff] [blame] | 111 | else |
Amin Hassani | e815363 | 2020-10-27 15:11:28 -0700 | [diff] [blame] | 112 | update_url_ = update_url; |
Gilad Arnold | bbdd490 | 2013-01-10 16:06:30 -0800 | [diff] [blame] | 113 | |
| 114 | // Set the interactive flag accordingly. |
Amin Hassani | e815363 | 2020-10-27 15:11:28 -0700 | [diff] [blame] | 115 | interactive_ = params.interactive; |
Xiaochu Liu | 88d9038 | 2018-08-29 16:09:11 -0700 | [diff] [blame] | 116 | |
Andrew | e045aef | 2020-01-08 16:29:22 -0800 | [diff] [blame] | 117 | dlc_apps_params_.clear(); |
Xiaochu Liu | 88d9038 | 2018-08-29 16:09:11 -0700 | [diff] [blame] | 118 | // Set false so it will do update by default. |
| 119 | is_install_ = false; |
Amin Hassani | e815363 | 2020-10-27 15:11:28 -0700 | [diff] [blame] | 120 | |
| 121 | target_version_prefix_ = params.target_version_prefix; |
| 122 | |
| 123 | lts_tag_ = params.lts_tag; |
| 124 | |
Saurabh Nijhara | 43d7adc | 2020-11-06 16:13:02 +0100 | [diff] [blame] | 125 | autoupdate_token_ = params.quick_fix_build_token; |
| 126 | |
Amin Hassani | e815363 | 2020-10-27 15:11:28 -0700 | [diff] [blame] | 127 | rollback_allowed_ = params.rollback_allowed; |
| 128 | |
| 129 | // Set whether saving data over rollback is requested. |
| 130 | rollback_data_save_requested_ = params.rollback_data_save_requested; |
| 131 | |
| 132 | // Set how many milestones of rollback are allowed. |
| 133 | rollback_allowed_milestones_ = params.rollback_allowed_milestones; |
| 134 | |
| 135 | // Set the target channel, if one was provided. |
| 136 | if (params.target_channel.empty()) { |
| 137 | LOG(INFO) << "No target channel mandated by policy."; |
| 138 | } else { |
| 139 | LOG(INFO) << "Setting target channel as mandated: " |
| 140 | << params.target_channel; |
| 141 | string error_message; |
| 142 | if (!SetTargetChannel(params.target_channel, |
| 143 | params.rollback_on_channel_downgrade, |
| 144 | &error_message)) { |
| 145 | LOG(ERROR) << "Setting the channel failed: " << error_message; |
| 146 | } |
| 147 | |
| 148 | // Since this is the beginning of a new attempt, update the download |
| 149 | // channel. The download channel won't be updated until the next attempt, |
| 150 | // even if target channel changes meanwhile, so that how we'll know if we |
| 151 | // should cancel the current download attempt if there's such a change in |
| 152 | // target channel. |
| 153 | UpdateDownloadChannel(); |
| 154 | } |
| 155 | |
Darin Petkov | a4a8a8c | 2010-07-15 22:21:12 -0700 | [diff] [blame] | 156 | return true; |
| 157 | } |
| 158 | |
David Pursell | 02c1864 | 2014-11-06 11:26:11 -0800 | [diff] [blame] | 159 | bool OmahaRequestParams::IsUpdateUrlOfficial() const { |
Alex Deymo | ac41a82 | 2015-09-15 20:52:53 -0700 | [diff] [blame] | 160 | return (update_url_ == constants::kOmahaDefaultAUTestURL || |
Alex Deymo | 8561665 | 2015-10-15 18:48:31 -0700 | [diff] [blame] | 161 | update_url_ == image_props_.omaha_url); |
David Pursell | 02c1864 | 2014-11-06 11:26:11 -0800 | [diff] [blame] | 162 | } |
| 163 | |
Alex Deymo | f329b93 | 2014-10-30 01:37:48 -0700 | [diff] [blame] | 164 | bool OmahaRequestParams::SetTargetChannel(const string& new_target_channel, |
Alex Deymo | d942f9d | 2015-11-06 16:11:50 -0800 | [diff] [blame] | 165 | bool is_powerwash_allowed, |
| 166 | string* error_message) { |
Jay Srinivasan | ae4697c | 2013-03-18 17:08:08 -0700 | [diff] [blame] | 167 | LOG(INFO) << "SetTargetChannel called with " << new_target_channel |
Jay Srinivasan | 1c0fe79 | 2013-03-28 16:45:25 -0700 | [diff] [blame] | 168 | << ", Is Powerwash Allowed = " |
| 169 | << utils::ToString(is_powerwash_allowed) |
Alex Deymo | 8561665 | 2015-10-15 18:48:31 -0700 | [diff] [blame] | 170 | << ". Current channel = " << image_props_.current_channel |
| 171 | << ", existing target channel = " |
| 172 | << mutable_image_props_.target_channel |
Jay Srinivasan | 1c0fe79 | 2013-03-28 16:45:25 -0700 | [diff] [blame] | 173 | << ", download channel = " << download_channel_; |
Sen Jiang | ce3f7cf | 2018-01-25 14:07:45 -0800 | [diff] [blame] | 174 | if (!IsValidChannel(new_target_channel, error_message)) { |
Alex Deymo | d942f9d | 2015-11-06 16:11:50 -0800 | [diff] [blame] | 175 | return false; |
| 176 | } |
Alex Deymo | a765844 | 2014-04-17 15:49:37 -0700 | [diff] [blame] | 177 | |
Alex Deymo | 8561665 | 2015-10-15 18:48:31 -0700 | [diff] [blame] | 178 | MutableImageProperties new_props; |
| 179 | new_props.target_channel = new_target_channel; |
| 180 | new_props.is_powerwash_allowed = is_powerwash_allowed; |
Alex Deymo | a765844 | 2014-04-17 15:49:37 -0700 | [diff] [blame] | 181 | |
Amin Hassani | 538bd59 | 2020-11-04 20:46:08 -0800 | [diff] [blame] | 182 | if (!StoreMutableImageProperties(new_props)) { |
Alex Deymo | d942f9d | 2015-11-06 16:11:50 -0800 | [diff] [blame] | 183 | if (error_message) |
| 184 | *error_message = "Error storing the new channel value."; |
| 185 | return false; |
| 186 | } |
Alex Deymo | 8561665 | 2015-10-15 18:48:31 -0700 | [diff] [blame] | 187 | mutable_image_props_ = new_props; |
Darin Petkov | 49d9132 | 2010-10-25 16:34:58 -0700 | [diff] [blame] | 188 | return true; |
| 189 | } |
| 190 | |
Jay Srinivasan | 1c0fe79 | 2013-03-28 16:45:25 -0700 | [diff] [blame] | 191 | void OmahaRequestParams::UpdateDownloadChannel() { |
Alex Deymo | 8561665 | 2015-10-15 18:48:31 -0700 | [diff] [blame] | 192 | if (download_channel_ != mutable_image_props_.target_channel) { |
| 193 | download_channel_ = mutable_image_props_.target_channel; |
Jay Srinivasan | 1c0fe79 | 2013-03-28 16:45:25 -0700 | [diff] [blame] | 194 | LOG(INFO) << "Download channel for this attempt = " << download_channel_; |
| 195 | } |
| 196 | } |
| 197 | |
Jay Srinivasan | ae4697c | 2013-03-18 17:08:08 -0700 | [diff] [blame] | 198 | string OmahaRequestParams::GetMachineType() const { |
Darin Petkov | a4a8a8c | 2010-07-15 22:21:12 -0700 | [diff] [blame] | 199 | struct utsname buf; |
| 200 | string ret; |
| 201 | if (uname(&buf) == 0) |
| 202 | ret = buf.machine; |
| 203 | return ret; |
| 204 | } |
| 205 | |
Sen Jiang | ce3f7cf | 2018-01-25 14:07:45 -0800 | [diff] [blame] | 206 | bool OmahaRequestParams::IsValidChannel(const string& channel, |
| 207 | string* error_message) const { |
| 208 | if (image_props_.allow_arbitrary_channels) { |
| 209 | if (!base::EndsWith(channel, "-channel", base::CompareCase::SENSITIVE)) { |
| 210 | if (error_message) { |
| 211 | *error_message = base::StringPrintf( |
| 212 | "Invalid channel name \"%s\", must ends with -channel.", |
| 213 | channel.c_str()); |
| 214 | } |
| 215 | return false; |
| 216 | } |
| 217 | return true; |
| 218 | } |
| 219 | if (GetChannelIndex(channel) < 0) { |
| 220 | string valid_channels = brillo::string_utils::JoinRange( |
| 221 | ", ", std::begin(kChannelsByStability), std::end(kChannelsByStability)); |
| 222 | if (error_message) { |
| 223 | *error_message = |
| 224 | base::StringPrintf("Invalid channel name \"%s\", valid names are: %s", |
| 225 | channel.c_str(), |
| 226 | valid_channels.c_str()); |
| 227 | } |
| 228 | return false; |
| 229 | } |
| 230 | return true; |
Darin Petkov | 49d9132 | 2010-10-25 16:34:58 -0700 | [diff] [blame] | 231 | } |
| 232 | |
Alex Deymo | f329b93 | 2014-10-30 01:37:48 -0700 | [diff] [blame] | 233 | void OmahaRequestParams::set_root(const string& root) { |
Jay Srinivasan | ae4697c | 2013-03-18 17:08:08 -0700 | [diff] [blame] | 234 | root_ = root; |
Alex Deymo | 8561665 | 2015-10-15 18:48:31 -0700 | [diff] [blame] | 235 | test::SetImagePropertiesRootPrefix(root_.c_str()); |
Darin Petkov | 49d9132 | 2010-10-25 16:34:58 -0700 | [diff] [blame] | 236 | } |
| 237 | |
Alex Deymo | f329b93 | 2014-10-30 01:37:48 -0700 | [diff] [blame] | 238 | int OmahaRequestParams::GetChannelIndex(const string& channel) const { |
hscham | 00b6aa2 | 2020-02-20 12:32:06 +0900 | [diff] [blame] | 239 | for (size_t t = 0; t < base::size(kChannelsByStability); ++t) |
Jay Srinivasan | ae4697c | 2013-03-18 17:08:08 -0700 | [diff] [blame] | 240 | if (channel == kChannelsByStability[t]) |
| 241 | return t; |
| 242 | |
| 243 | return -1; |
| 244 | } |
| 245 | |
Sen Jiang | 8500d3a | 2018-02-08 12:04:05 -0800 | [diff] [blame] | 246 | bool OmahaRequestParams::ToMoreStableChannel() const { |
Alex Deymo | 8561665 | 2015-10-15 18:48:31 -0700 | [diff] [blame] | 247 | int current_channel_index = GetChannelIndex(image_props_.current_channel); |
Jay Srinivasan | 1c0fe79 | 2013-03-28 16:45:25 -0700 | [diff] [blame] | 248 | int download_channel_index = GetChannelIndex(download_channel_); |
Jay Srinivasan | ae4697c | 2013-03-18 17:08:08 -0700 | [diff] [blame] | 249 | |
Jay Srinivasan | 1c0fe79 | 2013-03-28 16:45:25 -0700 | [diff] [blame] | 250 | return download_channel_index > current_channel_index; |
Jay Srinivasan | ae4697c | 2013-03-18 17:08:08 -0700 | [diff] [blame] | 251 | } |
| 252 | |
Sen Jiang | 8500d3a | 2018-02-08 12:04:05 -0800 | [diff] [blame] | 253 | bool OmahaRequestParams::ShouldPowerwash() const { |
| 254 | if (!mutable_image_props_.is_powerwash_allowed) |
| 255 | return false; |
| 256 | // If arbitrary channels are allowed, always powerwash on channel change. |
| 257 | if (image_props_.allow_arbitrary_channels) |
| 258 | return image_props_.current_channel != download_channel_; |
| 259 | // Otherwise only powerwash if we are moving from less stable (higher version) |
| 260 | // to more stable channel (lower version). |
| 261 | return ToMoreStableChannel(); |
| 262 | } |
| 263 | |
Jay Srinivasan | db0acdf | 2013-04-02 14:47:45 -0700 | [diff] [blame] | 264 | string OmahaRequestParams::GetAppId() const { |
Alex Deymo | 8561665 | 2015-10-15 18:48:31 -0700 | [diff] [blame] | 265 | return download_channel_ == "canary-channel" ? image_props_.canary_product_id |
| 266 | : image_props_.product_id; |
Jay Srinivasan | db0acdf | 2013-04-02 14:47:45 -0700 | [diff] [blame] | 267 | } |
| 268 | |
Jae Hoon Kim | 5e9cd71 | 2020-02-12 15:28:28 -0800 | [diff] [blame] | 269 | string OmahaRequestParams::GetDlcAppId(const std::string& dlc_id) const { |
Andrew | e045aef | 2020-01-08 16:29:22 -0800 | [diff] [blame] | 270 | // Create APP ID according to |dlc_id| (sticking the current AppID to the |
| 271 | // DLC module ID with an underscode). |
| 272 | return GetAppId() + "_" + dlc_id; |
| 273 | } |
| 274 | |
Jae Hoon Kim | 5e9cd71 | 2020-02-12 15:28:28 -0800 | [diff] [blame] | 275 | bool OmahaRequestParams::IsDlcAppId(const std::string& app_id) const { |
| 276 | return dlc_apps_params().find(app_id) != dlc_apps_params().end(); |
| 277 | } |
| 278 | |
Jae Hoon Kim | e2cac61 | 2020-11-02 18:30:29 -0800 | [diff] [blame] | 279 | bool OmahaRequestParams::GetDlcId(const string& app_id, string* dlc_id) const { |
| 280 | auto itr = dlc_apps_params_.find(app_id); |
| 281 | if (itr == dlc_apps_params_.end()) |
| 282 | return false; |
| 283 | *dlc_id = itr->second.name; |
| 284 | return true; |
| 285 | } |
| 286 | |
Jae Hoon Kim | 7fdfbf1 | 2020-04-10 18:15:50 -0700 | [diff] [blame] | 287 | void OmahaRequestParams::SetDlcNoUpdate(const string& app_id) { |
| 288 | auto itr = dlc_apps_params_.find(app_id); |
| 289 | if (itr == dlc_apps_params_.end()) |
| 290 | return; |
| 291 | itr->second.updated = false; |
| 292 | } |
| 293 | |
Darin Petkov | a4a8a8c | 2010-07-15 22:21:12 -0700 | [diff] [blame] | 294 | } // namespace chromeos_update_engine |