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

Side by Side Diff: components/proximity_auth/remote_device_loader.cc

Issue 1825423002: Add <algorithm> header to remote_device_loader.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/proximity_auth/remote_device_loader.h" 5 #include "components/proximity_auth/remote_device_loader.h"
6 6
7 #include <algorithm>
7 #include <utility> 8 #include <utility>
8 9
9 #include "base/base64url.h" 10 #include "base/base64url.h"
10 #include "base/bind.h" 11 #include "base/bind.h"
11 #include "components/proximity_auth/cryptauth/secure_message_delegate.h" 12 #include "components/proximity_auth/cryptauth/secure_message_delegate.h"
12 #include "components/proximity_auth/logging/logging.h" 13 #include "components/proximity_auth/logging/logging.h"
13 #include "components/proximity_auth/proximity_auth_pref_manager.h" 14 #include "components/proximity_auth/proximity_auth_pref_manager.h"
14 15
15 namespace proximity_auth { 16 namespace proximity_auth {
16 17
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 86
86 remote_devices_.push_back(RemoteDevice( 87 remote_devices_.push_back(RemoteDevice(
87 user_id_, unlock_key.friendly_device_name(), unlock_key.public_key(), 88 user_id_, unlock_key.friendly_device_name(), unlock_key.public_key(),
88 bluetooth_type, bluetooth_address, psk, std::string())); 89 bluetooth_type, bluetooth_address, psk, std::string()));
89 90
90 if (!remaining_unlock_keys_.size()) 91 if (!remaining_unlock_keys_.size())
91 callback_.Run(remote_devices_); 92 callback_.Run(remote_devices_);
92 } 93 }
93 94
94 } // namespace proximity_auth 95 } // namespace proximity_auth
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698