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

Side by Side Diff: components/component_updater/default_component_installer.cc

Issue 1853753003: Certificate Transparency: New component for obtaining fresh STHs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing review comments Created 4 years, 8 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
« no previous file with comments | « components/component_updater/component_updater_paths.cc ('k') | net/cert/sth_distributor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #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
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
OLDNEW
« no previous file with comments | « components/component_updater/component_updater_paths.cc ('k') | net/cert/sth_distributor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698