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.
5 #ifndef CHROME_BROWSER_SIGNIN_CHROME_PROXIMITY_AUTH_CLIENT_H_
6 #define CHROME_BROWSER_SIGNIN_CHROME_PROXIMITY_AUTH_CLIENT_H_
8 #include "base/macros.h"
9 #include "components/proximity_auth/proximity_auth_client.h"
13 // A Chrome-specific implementation of the ProximityAuthClient interface.
14 // There is one |ChromeProximityAuthClient| per |Profile|.
15 class ChromeProximityAuthClient
: public proximity_auth::ProximityAuthClient
{
17 explicit ChromeProximityAuthClient(Profile
* profile
);
18 ~ChromeProximityAuthClient() override
;
20 // proximity_auth::ProximityAuthClient:
21 std::string
GetAuthenticatedUsername() const override
;
24 Profile
* const profile_
;
26 DISALLOW_COPY_AND_ASSIGN(ChromeProximityAuthClient
);
29 #endif // CHROME_BROWSER_SIGNIN_CHROME_PROXIMITY_AUTH_CLIENT_H_