| 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 #include "components/component_updater/default_component_installer.h" | 5 #include "components/component_updater/default_component_installer.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 if (!current_manifest_) | 279 if (!current_manifest_) |
| 280 return; | 280 return; |
| 281 | 281 |
| 282 scoped_ptr<base::DictionaryValue> manifest_copy( | 282 scoped_ptr<base::DictionaryValue> manifest_copy( |
| 283 current_manifest_->DeepCopy()); | 283 current_manifest_->DeepCopy()); |
| 284 ComponentReady(std::move(manifest_copy)); | 284 ComponentReady(std::move(manifest_copy)); |
| 285 } | 285 } |
| 286 | 286 |
| 287 void DefaultComponentInstaller::ComponentReady( | 287 void DefaultComponentInstaller::ComponentReady( |
| 288 scoped_ptr<base::DictionaryValue> manifest) { | 288 scoped_ptr<base::DictionaryValue> manifest) { |
| 289 VLOG(1) << "ComponentReady"; | 289 VLOG(1) << "Component ready, version " << current_version_.GetString() |
| 290 << " in " << GetInstallDirectory().value(); |
| 290 installer_traits_->ComponentReady(current_version_, GetInstallDirectory(), | 291 installer_traits_->ComponentReady(current_version_, GetInstallDirectory(), |
| 291 std::move(manifest)); | 292 std::move(manifest)); |
| 292 } | 293 } |
| 293 | 294 |
| 294 } // namespace component_updater | 295 } // namespace component_updater |
| OLD | NEW |