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

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

Issue 2560713002: Move RemoteDevice from //components/proximity_auth to //components/cryptauth so that it can be easi… (Closed)
Patch Set: Add cryptauth dependency. Created 4 years 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "components/proximity_auth/remote_device.h"
6
7 namespace proximity_auth {
8
9 RemoteDevice::RemoteDevice() : bluetooth_type(BLUETOOTH_CLASSIC) {}
10
11 RemoteDevice::RemoteDevice(const std::string& user_id,
12 const std::string& name,
13 const std::string& public_key,
14 BluetoothType bluetooth_type,
15 const std::string& bluetooth_address,
16 const std::string& persistent_symmetric_key,
17 std::string sign_in_challenge)
18 : user_id(user_id),
19 name(name),
20 public_key(public_key),
21 bluetooth_type(bluetooth_type),
22 bluetooth_address(bluetooth_address),
23 persistent_symmetric_key(persistent_symmetric_key),
24 sign_in_challenge(sign_in_challenge) {}
25
26 RemoteDevice::RemoteDevice(const RemoteDevice& other) = default;
27
28 RemoteDevice::~RemoteDevice() {}
29
30 } // namespace
OLDNEW
« no previous file with comments | « components/proximity_auth/remote_device.h ('k') | components/proximity_auth/remote_device_life_cycle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698