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

Side by Side Diff: components/proximity_auth/device_to_device_operations_unittest.cc

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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
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 "base/base64url.h" 5 #include "base/base64url.h"
6 #include "base/bind.h" 6 #include "base/bind.h"
7 #include "base/macros.h"
7 #include "components/proximity_auth/cryptauth/fake_secure_message_delegate.h" 8 #include "components/proximity_auth/cryptauth/fake_secure_message_delegate.h"
8 #include "components/proximity_auth/device_to_device_initiator_operations.h" 9 #include "components/proximity_auth/device_to_device_initiator_operations.h"
9 #include "components/proximity_auth/device_to_device_responder_operations.h" 10 #include "components/proximity_auth/device_to_device_responder_operations.h"
10 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
11 12
12 namespace proximity_auth { 13 namespace proximity_auth {
13 14
14 namespace { 15 namespace {
15 16
16 // The initiator's session public key in base64url form. Note that this is 17 // The initiator's session public key in base64url form. Note that this is
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 DeviceToDeviceResponderOperations::ValidateInitiatorAuthMessage( 260 DeviceToDeviceResponderOperations::ValidateInitiatorAuthMessage(
260 local_auth_message, session_symmetric_key_, 261 local_auth_message, session_symmetric_key_,
261 "invalid persistent symmetric key", remote_auth_message, 262 "invalid persistent symmetric key", remote_auth_message,
262 &secure_message_delegate_, 263 &secure_message_delegate_,
263 base::Bind(&SaveValidationResult, &validation_success)); 264 base::Bind(&SaveValidationResult, &validation_success));
264 265
265 EXPECT_FALSE(validation_success); 266 EXPECT_FALSE(validation_success);
266 } 267 }
267 268
268 } // namespace proximity_auth 269 } // namespace proximity_auth
OLDNEW
« no previous file with comments | « components/proximity_auth/device_to_device_authenticator_unittest.cc ('k') | components/proximity_auth/fake_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698