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

Side by Side Diff: components/proximity_auth/cryptauth_enroller_factory_impl.h

Issue 1308393007: Add CryptAuth managers to EasyUnlockServiceRegular (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix windows compile Created 5 years, 3 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 COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_ENROLLER_FACTORY_IMPL_H
6 #define COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_ENROLLER_FACTORY_IMPL_H
7
8 #include "components/proximity_auth/cryptauth/cryptauth_enroller.h"
9 #include "components/proximity_auth/proximity_auth_client.h"
10
11 namespace proximity_auth {
12
13 // Implementation of CryptAuthEnrollerFactory. Note that this class is in the
14 // proximity_auth/ rather than the cryptauth/ directory because of the
15 // dependency on ProximityAuthClient.
16 class CryptAuthEnrollerFactoryImpl : public CryptAuthEnrollerFactory {
17 public:
18 explicit CryptAuthEnrollerFactoryImpl(
19 ProximityAuthClient* proximity_auth_client);
20 ~CryptAuthEnrollerFactoryImpl() override;
21
22 // CryptAuthEnrollerFactory:
23 scoped_ptr<CryptAuthEnroller> CreateInstance() override;
24
25 private:
26 proximity_auth::ProximityAuthClient* proximity_auth_client_;
27
28 DISALLOW_COPY_AND_ASSIGN(CryptAuthEnrollerFactoryImpl);
29 };
30
31 } // namespace proximity_auth
32
33 #endif // COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_ENROLLER_FACTORY_IMPL_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698