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

Side by Side Diff: components/proximity_auth/remote_device_life_cycle_impl_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 "components/proximity_auth/remote_device_life_cycle_impl.h" 5 #include "components/proximity_auth/remote_device_life_cycle_impl.h"
6 6
7 #include <stddef.h>
8
7 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/macros.h"
8 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
9 #include "base/test/test_simple_task_runner.h" 12 #include "base/test/test_simple_task_runner.h"
10 #include "base/thread_task_runner_handle.h" 13 #include "base/thread_task_runner_handle.h"
11 #include "components/proximity_auth/authenticator.h" 14 #include "components/proximity_auth/authenticator.h"
12 #include "components/proximity_auth/connection_finder.h" 15 #include "components/proximity_auth/connection_finder.h"
13 #include "components/proximity_auth/fake_connection.h" 16 #include "components/proximity_auth/fake_connection.h"
14 #include "components/proximity_auth/messenger.h" 17 #include "components/proximity_auth/messenger.h"
15 #include "components/proximity_auth/proximity_auth_test_util.h" 18 #include "components/proximity_auth/proximity_auth_test_util.h"
16 #include "components/proximity_auth/secure_context.h" 19 #include "components/proximity_auth/secure_context.h"
17 #include "components/proximity_auth/wire_message.h" 20 #include "components/proximity_auth/wire_message.h"
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 305
303 // Authentication succeeds on second pass. 306 // Authentication succeeds on second pass.
304 Connection* connection = OnConnectionFound(); 307 Connection* connection = OnConnectionFound();
305 Authenticate(Authenticator::Result::SUCCESS); 308 Authenticate(Authenticator::Result::SUCCESS);
306 EXPECT_TRUE(life_cycle_.GetMessenger()); 309 EXPECT_TRUE(life_cycle_.GetMessenger());
307 EXPECT_CALL(*this, OnLifeCycleStateChanged(_, _)); 310 EXPECT_CALL(*this, OnLifeCycleStateChanged(_, _));
308 connection->Disconnect(); 311 connection->Disconnect();
309 } 312 }
310 313
311 } // namespace proximity_auth 314 } // namespace proximity_auth
OLDNEW
« no previous file with comments | « components/proximity_auth/remote_device_life_cycle_impl.h ('k') | components/proximity_auth/remote_device_loader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698