Use kDefaultURL throughout SpdySessionTest.
[chromium-blink-merge.git] / components / proximity_auth / proximity_auth_system.h
blob644d65dfe129c10647037fcbc775d79efedce2ea
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
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_PROXIMITY_AUTH_PROXIMITY_AUTH_SYSTEM_H
6 #define COMPONENTS_PROXIMITY_AUTH_PROXIMITY_AUTH_SYSTEM_H
8 #include <vector>
10 #include "base/macros.h"
11 #include "components/proximity_auth/remote_device.h"
13 namespace proximity_auth {
15 // This is the main entry point to start Proximity Auth, the underlying system
16 // for the Easy Unlock and Easy Sign-in features. Given a list of registered
17 // remote devices (i.e. phones), this object will handle the connection,
18 // authentication, and protocol for all the devices.
19 class ProximityAuthSystem {
20 public:
21 ProximityAuthSystem(const std::vector<RemoteDevice>& remote_devices);
22 virtual ~ProximityAuthSystem();
24 const std::vector<RemoteDevice>& GetRemoteDevices();
26 private:
27 std::vector<RemoteDevice> remote_devices_;
29 DISALLOW_COPY_AND_ASSIGN(ProximityAuthSystem);
32 } // namespace proximity_auth
34 #endif // COMPONENTS_PROXIMITY_AUTH_PROXIMITY_AUTH_SYSTEM_H