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

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

Issue 2502343003: Moved //components/proximity_auth/cryptauth to //components/cryptauth. (Closed)
Patch Set: Prefixed two test names with "CryptAuth" so that they do not collide with other test names. Created 4 years, 1 month 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_ENROLLER_FACTORY_IMPL_H 5 #ifndef COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_ENROLLER_FACTORY_IMPL_H
6 #define COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_ENROLLER_FACTORY_IMPL_H 6 #define COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_ENROLLER_FACTORY_IMPL_H
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/proximity_auth/cryptauth/cryptauth_enroller.h" 9 #include "components/cryptauth/cryptauth_enroller.h"
10 #include "components/proximity_auth/proximity_auth_client.h" 10 #include "components/proximity_auth/proximity_auth_client.h"
11 11
12 namespace proximity_auth { 12 namespace proximity_auth {
13 13
14 // Implementation of CryptAuthEnrollerFactory. Note that this class is in the 14 // Implementation of CryptAuthEnrollerFactory. Note that this class is in the
15 // proximity_auth/ rather than the cryptauth/ directory because of the 15 // proximity_auth/ rather than the cryptauth/ directory because of the
16 // dependency on ProximityAuthClient. 16 // dependency on ProximityAuthClient.
17 class CryptAuthEnrollerFactoryImpl : public CryptAuthEnrollerFactory { 17 class CryptAuthEnrollerFactoryImpl
18 : public cryptauth::CryptAuthEnrollerFactory {
18 public: 19 public:
19 explicit CryptAuthEnrollerFactoryImpl( 20 explicit CryptAuthEnrollerFactoryImpl(
20 ProximityAuthClient* proximity_auth_client); 21 ProximityAuthClient* proximity_auth_client);
21 ~CryptAuthEnrollerFactoryImpl() override; 22 ~CryptAuthEnrollerFactoryImpl() override;
22 23
23 // CryptAuthEnrollerFactory: 24 // CryptAuthEnrollerFactory:
24 std::unique_ptr<CryptAuthEnroller> CreateInstance() override; 25 std::unique_ptr<cryptauth::CryptAuthEnroller> CreateInstance() override;
25 26
26 private: 27 private:
27 proximity_auth::ProximityAuthClient* proximity_auth_client_; 28 proximity_auth::ProximityAuthClient* proximity_auth_client_;
28 29
29 DISALLOW_COPY_AND_ASSIGN(CryptAuthEnrollerFactoryImpl); 30 DISALLOW_COPY_AND_ASSIGN(CryptAuthEnrollerFactoryImpl);
30 }; 31 };
31 32
32 } // namespace proximity_auth 33 } // namespace proximity_auth
33 34
34 #endif // COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_ENROLLER_FACTORY_IMPL_H 35 #endif // COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_ENROLLER_FACTORY_IMPL_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698