Index: components/update_client/update_checker.cc |
diff --git a/components/update_client/update_checker.cc b/components/update_client/update_checker.cc |
index 7ffcecc1f4737687f34aecf7912e9315f45e4a15..9496febee8543656cac568e35885cb338f9fd5f2 100644 |
--- a/components/update_client/update_checker.cc |
+++ b/components/update_client/update_checker.cc |
@@ -41,7 +41,7 @@ std::string SanitizeAp(const std::string& ap) { |
// Returns true if at least one item requires network encryption. |
bool IsEncryptionRequired(const std::vector<CrxUpdateItem*>& items) { |
- for (const auto& item : items) { |
+ for (auto* item : items) { |
if (item->component.requires_network_encryption) |
return true; |
} |
@@ -158,7 +158,7 @@ bool UpdateCheckerImpl::CheckForUpdates( |
std::unique_ptr<std::vector<std::string>> ids_checked( |
new std::vector<std::string>()); |
- for (auto crx : items_to_check) |
+ for (auto* crx : items_to_check) |
ids_checked->push_back(crx->id); |
request_sender_.reset(new RequestSender(config_)); |
request_sender_->Send( |