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

Side by Side Diff: components/proximity_auth/cryptauth/cryptauth_enroller_impl.cc

Issue 1485873002: Fix #includes in components/proximity_auth/cryptauth. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile for tests Created 5 years 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 #include "components/proximity_auth/cryptauth/cryptauth_enroller_impl.h" 5 #include "components/proximity_auth/cryptauth/cryptauth_enroller_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "components/proximity_auth/cryptauth/cryptauth_client_impl.h" 8 #include "components/proximity_auth/cryptauth/cryptauth_client_impl.h"
9 #include "components/proximity_auth/cryptauth/cryptauth_enrollment_utils.h" 9 #include "components/proximity_auth/cryptauth/cryptauth_enrollment_utils.h"
10 #include "components/proximity_auth/cryptauth/fake_secure_message_delegate.h"
11 #include "components/proximity_auth/cryptauth/secure_message_delegate.h" 10 #include "components/proximity_auth/cryptauth/secure_message_delegate.h"
12 #include "components/proximity_auth/logging/logging.h" 11 #include "components/proximity_auth/logging/logging.h"
13 #include "crypto/sha2.h" 12 #include "crypto/sha2.h"
14 13
15 namespace proximity_auth { 14 namespace proximity_auth {
16 15
17 namespace { 16 namespace {
18 17
19 // A successful SetupEnrollment or FinishEnrollment response should contain this 18 // A successful SetupEnrollment or FinishEnrollment response should contain this
20 // status string. 19 // status string.
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 } 219 }
221 } 220 }
222 221
223 void CryptAuthEnrollerImpl::OnFinishEnrollmentFailure( 222 void CryptAuthEnrollerImpl::OnFinishEnrollmentFailure(
224 const std::string& error) { 223 const std::string& error) {
225 PA_LOG(WARNING) << "FinishEnrollment API failed with error: " << error; 224 PA_LOG(WARNING) << "FinishEnrollment API failed with error: " << error;
226 callback_.Run(false); 225 callback_.Run(false);
227 } 226 }
228 227
229 } // namespace proximity_auth 228 } // namespace proximity_auth
OLDNEW
« no previous file with comments | « components/proximity_auth/cryptauth/cryptauth_client_impl_unittest.cc ('k') | components/proximity_auth/cryptauth/switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698