[email protected] | f105043 | 2012-02-15 01:35:46 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "chrome/browser/component_updater/component_unpacker.h" |
| 6 | |
| 7 | #include <string> |
| 8 | #include <vector> |
| 9 | |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 10 | #include "base/bind.h" |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 11 | #include "base/file_util.h" |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 12 | #include "base/files/file_path.h" |
[email protected] | 0910bae | 2014-06-10 17:53:21 | [diff] [blame^] | 13 | #include "base/files/scoped_file.h" |
[email protected] | ffbec69 | 2012-02-26 20:26:42 | [diff] [blame] | 14 | #include "base/json/json_file_value_serializer.h" |
[email protected] | 9e1685a | 2014-02-13 15:08:34 | [diff] [blame] | 15 | #include "base/location.h" |
[email protected] | 871bdf1 | 2013-10-26 10:52:06 | [diff] [blame] | 16 | #include "base/logging.h" |
[email protected] | 3ea1b18 | 2013-02-08 22:38:41 | [diff] [blame] | 17 | #include "base/strings/string_number_conversions.h" |
[email protected] | e746341 | 2013-06-10 22:53:46 | [diff] [blame] | 18 | #include "base/strings/stringprintf.h" |
[email protected] | 871bdf1 | 2013-10-26 10:52:06 | [diff] [blame] | 19 | #include "base/values.h" |
[email protected] | e3e696d3 | 2013-06-21 20:41:36 | [diff] [blame] | 20 | #include "chrome/browser/component_updater/component_patcher.h" |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 21 | #include "chrome/browser/component_updater/component_updater_service.h" |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 22 | #include "crypto/secure_hash.h" |
| 23 | #include "crypto/signature_verifier.h" |
[email protected] | cda103d | 2014-04-04 16:22:39 | [diff] [blame] | 24 | #include "extensions/common/constants.h" |
[email protected] | 993da5e | 2013-03-23 21:25:16 | [diff] [blame] | 25 | #include "extensions/common/crx_file.h" |
[email protected] | 4170d3a | 2013-05-03 23:02:57 | [diff] [blame] | 26 | #include "third_party/zlib/google/zip.h" |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 27 | |
| 28 | using crypto::SecureHash; |
| 29 | |
[email protected] | 055981f | 2014-01-17 20:22:32 | [diff] [blame] | 30 | namespace component_updater { |
| 31 | |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 32 | namespace { |
[email protected] | e3e696d3 | 2013-06-21 20:41:36 | [diff] [blame] | 33 | |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 34 | // This class makes sure that the CRX digital signature is valid |
| 35 | // and well formed. |
| 36 | class CRXValidator { |
| 37 | public: |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 38 | explicit CRXValidator(FILE* crx_file) : valid_(false), is_delta_(false) { |
[email protected] | bf3d9df | 2012-07-24 23:20:27 | [diff] [blame] | 39 | extensions::CrxFile::Header header; |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 40 | size_t len = fread(&header, 1, sizeof(header), crx_file); |
[email protected] | 802a30e | 2012-06-26 10:19:41 | [diff] [blame] | 41 | if (len < sizeof(header)) |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 42 | return; |
[email protected] | 802a30e | 2012-06-26 10:19:41 | [diff] [blame] | 43 | |
[email protected] | bf3d9df | 2012-07-24 23:20:27 | [diff] [blame] | 44 | extensions::CrxFile::Error error; |
| 45 | scoped_ptr<extensions::CrxFile> crx( |
| 46 | extensions::CrxFile::Parse(header, &error)); |
[email protected] | 802a30e | 2012-06-26 10:19:41 | [diff] [blame] | 47 | if (!crx.get()) |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 48 | return; |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 49 | is_delta_ = extensions::CrxFile::HeaderIsDelta(header); |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 50 | |
| 51 | std::vector<uint8> key(header.key_size); |
| 52 | len = fread(&key[0], sizeof(uint8), header.key_size, crx_file); |
[email protected] | 802a30e | 2012-06-26 10:19:41 | [diff] [blame] | 53 | if (len < header.key_size) |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 54 | return; |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 55 | |
| 56 | std::vector<uint8> signature(header.signature_size); |
| 57 | len = fread(&signature[0], sizeof(uint8), header.signature_size, crx_file); |
[email protected] | 802a30e | 2012-06-26 10:19:41 | [diff] [blame] | 58 | if (len < header.signature_size) |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 59 | return; |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 60 | |
| 61 | crypto::SignatureVerifier verifier; |
| 62 | if (!verifier.VerifyInit(extension_misc::kSignatureAlgorithm, |
| 63 | sizeof(extension_misc::kSignatureAlgorithm), |
[email protected] | d0c8b8b4 | 2014-05-06 05:11:45 | [diff] [blame] | 64 | &signature[0], |
| 65 | signature.size(), |
| 66 | &key[0], |
| 67 | key.size())) { |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 68 | // Signature verification initialization failed. This is most likely |
| 69 | // caused by a public key in the wrong format (should encode algorithm). |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 70 | return; |
| 71 | } |
| 72 | |
| 73 | const size_t kBufSize = 8 * 1024; |
[email protected] | d06bece | 2013-04-06 06:48:06 | [diff] [blame] | 74 | scoped_ptr<uint8[]> buf(new uint8[kBufSize]); |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 75 | while ((len = fread(buf.get(), 1, kBufSize, crx_file)) > 0) |
| 76 | verifier.VerifyUpdate(buf.get(), len); |
| 77 | |
[email protected] | 802a30e | 2012-06-26 10:19:41 | [diff] [blame] | 78 | if (!verifier.VerifyFinal()) |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 79 | return; |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 80 | |
| 81 | public_key_.swap(key); |
[email protected] | 802a30e | 2012-06-26 10:19:41 | [diff] [blame] | 82 | valid_ = true; |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 83 | } |
| 84 | |
[email protected] | 802a30e | 2012-06-26 10:19:41 | [diff] [blame] | 85 | bool valid() const { return valid_; } |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 86 | |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 87 | bool is_delta() const { return is_delta_; } |
[email protected] | e3e696d3 | 2013-06-21 20:41:36 | [diff] [blame] | 88 | |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 89 | const std::vector<uint8>& public_key() const { return public_key_; } |
| 90 | |
| 91 | private: |
[email protected] | 802a30e | 2012-06-26 10:19:41 | [diff] [blame] | 92 | bool valid_; |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 93 | bool is_delta_; |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 94 | std::vector<uint8> public_key_; |
| 95 | }; |
| 96 | |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 97 | } // namespace |
| 98 | |
| 99 | ComponentUnpacker::ComponentUnpacker( |
| 100 | const std::vector<uint8>& pk_hash, |
| 101 | const base::FilePath& path, |
| 102 | const std::string& fingerprint, |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 103 | ComponentInstaller* installer, |
[email protected] | 94a481b | 2014-03-28 19:41:55 | [diff] [blame] | 104 | bool in_process, |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 105 | scoped_refptr<base::SequencedTaskRunner> task_runner) |
| 106 | : pk_hash_(pk_hash), |
| 107 | path_(path), |
| 108 | is_delta_(false), |
| 109 | fingerprint_(fingerprint), |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 110 | installer_(installer), |
[email protected] | 94a481b | 2014-03-28 19:41:55 | [diff] [blame] | 111 | in_process_(in_process), |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 112 | error_(kNone), |
| 113 | extended_error_(0), |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 114 | task_runner_(task_runner) { |
| 115 | } |
[email protected] | 871bdf1 | 2013-10-26 10:52:06 | [diff] [blame] | 116 | |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 117 | // TODO(cpu): add a specific attribute check to a component json that the |
| 118 | // extension unpacker will reject, so that a component cannot be installed |
| 119 | // as an extension. |
[email protected] | 871bdf1 | 2013-10-26 10:52:06 | [diff] [blame] | 120 | scoped_ptr<base::DictionaryValue> ReadManifest( |
| 121 | const base::FilePath& unpack_path) { |
[email protected] | 650b2d5 | 2013-02-10 03:41:45 | [diff] [blame] | 122 | base::FilePath manifest = |
| 123 | unpack_path.Append(FILE_PATH_LITERAL("manifest.json")); |
[email protected] | 756748414 | 2013-07-11 17:36:07 | [diff] [blame] | 124 | if (!base::PathExists(manifest)) |
[email protected] | 871bdf1 | 2013-10-26 10:52:06 | [diff] [blame] | 125 | return scoped_ptr<base::DictionaryValue>(); |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 126 | JSONFileValueSerializer serializer(manifest); |
| 127 | std::string error; |
| 128 | scoped_ptr<base::Value> root(serializer.Deserialize(NULL, &error)); |
| 129 | if (!root.get()) |
[email protected] | 871bdf1 | 2013-10-26 10:52:06 | [diff] [blame] | 130 | return scoped_ptr<base::DictionaryValue>(); |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 131 | if (!root->IsType(base::Value::TYPE_DICTIONARY)) |
[email protected] | 871bdf1 | 2013-10-26 10:52:06 | [diff] [blame] | 132 | return scoped_ptr<base::DictionaryValue>(); |
| 133 | return scoped_ptr<base::DictionaryValue>( |
[email protected] | d0c8b8b4 | 2014-05-06 05:11:45 | [diff] [blame] | 134 | static_cast<base::DictionaryValue*>(root.release())).Pass(); |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 135 | } |
| 136 | |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 137 | bool ComponentUnpacker::UnpackInternal() { |
| 138 | return Verify() && Unzip() && BeginPatching(); |
| 139 | } |
| 140 | |
[email protected] | 94a481b | 2014-03-28 19:41:55 | [diff] [blame] | 141 | void ComponentUnpacker::Unpack(const Callback& callback) { |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 142 | callback_ = callback; |
| 143 | if (!UnpackInternal()) |
| 144 | Finish(); |
| 145 | } |
| 146 | |
| 147 | bool ComponentUnpacker::Verify() { |
[email protected] | fb53e65 | 2014-04-30 11:27:19 | [diff] [blame] | 148 | VLOG(1) << "Verifying component: " << path_.value(); |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 149 | if (pk_hash_.empty() || path_.empty()) { |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 150 | error_ = kInvalidParams; |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 151 | return false; |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 152 | } |
| 153 | // First, validate the CRX header and signature. As of today |
| 154 | // this is SHA1 with RSA 1024. |
[email protected] | 0910bae | 2014-06-10 17:53:21 | [diff] [blame^] | 155 | base::ScopedFILE file(base::OpenFile(path_, "rb")); |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 156 | if (!file.get()) { |
| 157 | error_ = kInvalidFile; |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 158 | return false; |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 159 | } |
| 160 | CRXValidator validator(file.get()); |
[email protected] | 0910bae | 2014-06-10 17:53:21 | [diff] [blame^] | 161 | file.reset(); |
[email protected] | 802a30e | 2012-06-26 10:19:41 | [diff] [blame] | 162 | if (!validator.valid()) { |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 163 | error_ = kInvalidFile; |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 164 | return false; |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 165 | } |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 166 | is_delta_ = validator.is_delta(); |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 167 | |
[email protected] | f105043 | 2012-02-15 01:35:46 | [diff] [blame] | 168 | // File is valid and the digital signature matches. Now make sure |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 169 | // the public key hash matches the expected hash. If they do we fully |
| 170 | // trust this CRX. |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 171 | uint8 hash[32] = {}; |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 172 | scoped_ptr<SecureHash> sha256(SecureHash::Create(SecureHash::SHA256)); |
| 173 | sha256->Update(&(validator.public_key()[0]), validator.public_key().size()); |
| 174 | sha256->Finish(hash, arraysize(hash)); |
| 175 | |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 176 | if (!std::equal(pk_hash_.begin(), pk_hash_.end(), hash)) { |
[email protected] | fb53e65 | 2014-04-30 11:27:19 | [diff] [blame] | 177 | VLOG(1) << "Hash mismatch: " << path_.value(); |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 178 | error_ = kInvalidId; |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 179 | return false; |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 180 | } |
[email protected] | fb53e65 | 2014-04-30 11:27:19 | [diff] [blame] | 181 | VLOG(1) << "Verification successful: " << path_.value(); |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 182 | return true; |
| 183 | } |
| 184 | |
| 185 | bool ComponentUnpacker::Unzip() { |
| 186 | base::FilePath& destination = is_delta_ ? unpack_diff_path_ : unpack_path_; |
[email protected] | fb53e65 | 2014-04-30 11:27:19 | [diff] [blame] | 187 | VLOG(1) << "Unpacking in: " << destination.value(); |
[email protected] | 03d9afc0 | 2013-12-03 17:55:52 | [diff] [blame] | 188 | if (!base::CreateNewTempDirectory(base::FilePath::StringType(), |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 189 | &destination)) { |
[email protected] | fb53e65 | 2014-04-30 11:27:19 | [diff] [blame] | 190 | VLOG(1) << "Unable to create temporary directory for unpacking."; |
[email protected] | e3e696d3 | 2013-06-21 20:41:36 | [diff] [blame] | 191 | error_ = kUnzipPathError; |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 192 | return false; |
| 193 | } |
| 194 | if (!zip::Unzip(path_, destination)) { |
[email protected] | fb53e65 | 2014-04-30 11:27:19 | [diff] [blame] | 195 | VLOG(1) << "Unzipping failed."; |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 196 | error_ = kUnzipFailed; |
| 197 | return false; |
| 198 | } |
[email protected] | fb53e65 | 2014-04-30 11:27:19 | [diff] [blame] | 199 | VLOG(1) << "Unpacked successfully"; |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 200 | return true; |
| 201 | } |
| 202 | |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 203 | bool ComponentUnpacker::BeginPatching() { |
| 204 | if (is_delta_) { // Package is a diff package. |
| 205 | // Use a different temp directory for the patch output files. |
| 206 | if (!base::CreateNewTempDirectory(base::FilePath::StringType(), |
| 207 | &unpack_path_)) { |
| 208 | error_ = kUnzipPathError; |
| 209 | return false; |
| 210 | } |
[email protected] | 94a481b | 2014-03-28 19:41:55 | [diff] [blame] | 211 | patcher_ = new ComponentPatcher(unpack_diff_path_, |
| 212 | unpack_path_, |
| 213 | installer_, |
| 214 | in_process_, |
| 215 | task_runner_); |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 216 | task_runner_->PostTask( |
[email protected] | 94a481b | 2014-03-28 19:41:55 | [diff] [blame] | 217 | FROM_HERE, |
| 218 | base::Bind(&ComponentPatcher::Start, |
| 219 | patcher_, |
| 220 | base::Bind(&ComponentUnpacker::EndPatching, |
| 221 | scoped_refptr<ComponentUnpacker>(this)))); |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 222 | } else { |
[email protected] | 94a481b | 2014-03-28 19:41:55 | [diff] [blame] | 223 | task_runner_->PostTask(FROM_HERE, |
| 224 | base::Bind(&ComponentUnpacker::EndPatching, |
| 225 | scoped_refptr<ComponentUnpacker>(this), |
| 226 | kNone, |
| 227 | 0)); |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 228 | } |
| 229 | return true; |
| 230 | } |
| 231 | |
| 232 | void ComponentUnpacker::EndPatching(Error error, int extended_error) { |
| 233 | error_ = error; |
| 234 | extended_error_ = extended_error; |
[email protected] | 94a481b | 2014-03-28 19:41:55 | [diff] [blame] | 235 | patcher_ = NULL; |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 236 | if (error_ != kNone) { |
| 237 | Finish(); |
[email protected] | e3e696d3 | 2013-06-21 20:41:36 | [diff] [blame] | 238 | return; |
| 239 | } |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 240 | // Optimization: clean up patch files early, in case disk space is too low to |
| 241 | // install otherwise. |
| 242 | if (!unpack_diff_path_.empty()) { |
| 243 | base::DeleteFile(unpack_diff_path_, true); |
| 244 | unpack_diff_path_.clear(); |
| 245 | } |
| 246 | Install(); |
| 247 | Finish(); |
| 248 | } |
| 249 | |
| 250 | void ComponentUnpacker::Install() { |
| 251 | // Write the fingerprint to disk. |
| 252 | if (static_cast<int>(fingerprint_.size()) != |
[email protected] | e5c2a22e | 2014-03-06 20:42:30 | [diff] [blame] | 253 | base::WriteFile( |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 254 | unpack_path_.Append(FILE_PATH_LITERAL("manifest.fingerprint")), |
| 255 | fingerprint_.c_str(), |
| 256 | fingerprint_.size())) { |
| 257 | error_ = kFingerprintWriteFailed; |
| 258 | return; |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 259 | } |
| 260 | scoped_ptr<base::DictionaryValue> manifest(ReadManifest(unpack_path_)); |
| 261 | if (!manifest.get()) { |
| 262 | error_ = kBadManifest; |
| 263 | return; |
| 264 | } |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 265 | DCHECK(error_ == kNone); |
| 266 | if (!installer_->Install(*manifest, unpack_path_)) { |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 267 | error_ = kInstallerError; |
| 268 | return; |
| 269 | } |
[email protected] | f5d27e3 | 2014-01-31 06:48:53 | [diff] [blame] | 270 | } |
| 271 | |
| 272 | void ComponentUnpacker::Finish() { |
| 273 | if (!unpack_diff_path_.empty()) |
| 274 | base::DeleteFile(unpack_diff_path_, true); |
| 275 | if (!unpack_path_.empty()) |
| 276 | base::DeleteFile(unpack_path_, true); |
| 277 | callback_.Run(error_, extended_error_); |
| 278 | } |
| 279 | |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 280 | ComponentUnpacker::~ComponentUnpacker() { |
[email protected] | 2e114e73 | 2011-07-22 02:55:04 | [diff] [blame] | 281 | } |
[email protected] | 055981f | 2014-01-17 20:22:32 | [diff] [blame] | 282 | |
| 283 | } // namespace component_updater |