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

Side by Side Diff: components/proximity_auth/unlock_manager_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, 11 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/unlock_manager.h" 5 #include "components/proximity_auth/unlock_manager.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/test/test_simple_task_runner.h" 10 #include "base/test/test_simple_task_runner.h"
11 #include "base/thread_task_runner_handle.h" 11 #include "base/thread_task_runner_handle.h"
12 #include "build/build_config.h"
12 #include "components/proximity_auth/fake_secure_context.h" 13 #include "components/proximity_auth/fake_secure_context.h"
13 #include "components/proximity_auth/logging/logging.h" 14 #include "components/proximity_auth/logging/logging.h"
14 #include "components/proximity_auth/messenger.h" 15 #include "components/proximity_auth/messenger.h"
15 #include "components/proximity_auth/mock_proximity_auth_client.h" 16 #include "components/proximity_auth/mock_proximity_auth_client.h"
16 #include "components/proximity_auth/proximity_auth_test_util.h" 17 #include "components/proximity_auth/proximity_auth_test_util.h"
17 #include "components/proximity_auth/proximity_monitor.h" 18 #include "components/proximity_auth/proximity_monitor.h"
18 #include "components/proximity_auth/remote_device_life_cycle.h" 19 #include "components/proximity_auth/remote_device_life_cycle.h"
19 #include "components/proximity_auth/remote_status_update.h" 20 #include "components/proximity_auth/remote_status_update.h"
20 #include "components/proximity_auth/screenlock_bridge.h" 21 #include "components/proximity_auth/screenlock_bridge.h"
21 #include "components/proximity_auth/secure_context.h" 22 #include "components/proximity_auth/secure_context.h"
(...skipping 899 matching lines...) Expand 10 before | Expand all | Expand 10 after
921 })); 922 }));
922 923
923 EXPECT_CALL(messenger_, RequestDecryption(kChallenge)); 924 EXPECT_CALL(messenger_, RequestDecryption(kChallenge));
924 unlock_manager_->OnAuthAttempted(ScreenlockBridge::LockHandler::USER_CLICK); 925 unlock_manager_->OnAuthAttempted(ScreenlockBridge::LockHandler::USER_CLICK);
925 926
926 EXPECT_CALL(proximity_auth_client_, FinalizeSignin(std::string())); 927 EXPECT_CALL(proximity_auth_client_, FinalizeSignin(std::string()));
927 unlock_manager_->OnDecryptResponse(std::string()); 928 unlock_manager_->OnDecryptResponse(std::string());
928 } 929 }
929 930
930 } // namespace proximity_auth 931 } // namespace proximity_auth
OLDNEW
« no previous file with comments | « components/proximity_auth/unlock_manager.cc ('k') | components/proximity_auth/webui/proximity_auth_webui_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698