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

Side by Side Diff: chrome/browser/signin/chrome_proximity_auth_client.h

Issue 1209193003: [Proximity Auth] Create one ProximityAuthClient per profile, rather than one global one. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean up screenlock_private_api.cc a bit Created 5 years, 6 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
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 #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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698