Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 #ifndef CHROME_BROWSER_SIGNIN_CHROME_PROXIMITY_AUTH_CLIENT_H_ | |
| 6 #define CHROME_BROWSER_SIGNIN_CHROME_PROXIMITY_AUTH_CLIENT_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "components/proximity_auth/proximity_auth_client.h" | |
| 10 | |
| 11 class Profile; | |
| 12 | |
| 13 // A Chrome-specific implementation of the ProximityAuthClient interface. | |
| 14 // There is one |ChromeProximityAuthClient| per |Profile|. | |
| 15 class ChromeProximityAuthClient : public proximity_auth::ProximityAuthClient { | |
|
Mike Lerman
2015/06/29 13:41:28
This class really just provides one small function
Ilya Sherman
2015/06/29 18:03:38
I'm about to add more code to this class in a foll
| |
| 16 public: | |
| 17 explicit ChromeProximityAuthClient(Profile* profile); | |
| 18 ~ChromeProximityAuthClient() override; | |
| 19 | |
| 20 // proximity_auth::ProximityAuthClient: | |
| 21 std::string GetAuthenticatedUsername() const override; | |
| 22 | |
| 23 private: | |
| 24 Profile* const profile_; | |
| 25 | |
| 26 DISALLOW_COPY_AND_ASSIGN(ChromeProximityAuthClient); | |
| 27 }; | |
| 28 | |
| 29 #endif // CHROME_BROWSER_SIGNIN_CHROME_PROXIMITY_AUTH_CLIENT_H_ | |
| OLD | NEW |