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

Side by Side Diff: components/proximity_auth/cryptauth/cryptauth_device_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, 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/cryptauth/cryptauth_device_manager.h" 5 #include "components/proximity_auth/cryptauth/cryptauth_device_manager.h"
6 6
7 #include <stddef.h>
8
7 #include "base/base64url.h" 9 #include "base/base64url.h"
10 #include "base/macros.h"
8 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
9 #include "base/prefs/scoped_user_pref_update.h" 12 #include "base/prefs/scoped_user_pref_update.h"
10 #include "base/prefs/testing_pref_service.h" 13 #include "base/prefs/testing_pref_service.h"
11 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
12 #include "base/test/simple_test_clock.h" 15 #include "base/test/simple_test_clock.h"
13 #include "components/proximity_auth/cryptauth/fake_cryptauth_gcm_manager.h" 16 #include "components/proximity_auth/cryptauth/fake_cryptauth_gcm_manager.h"
14 #include "components/proximity_auth/cryptauth/mock_cryptauth_client.h" 17 #include "components/proximity_auth/cryptauth/mock_cryptauth_client.h"
15 #include "components/proximity_auth/cryptauth/mock_sync_scheduler.h" 18 #include "components/proximity_auth/cryptauth/mock_sync_scheduler.h"
16 #include "components/proximity_auth/cryptauth/pref_names.h" 19 #include "components/proximity_auth/cryptauth/pref_names.h"
17 #include "testing/gmock/include/gmock/gmock.h" 20 #include "testing/gmock/include/gmock/gmock.h"
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 CryptAuthDeviceManager::DeviceChangeResult::CHANGED)); 595 CryptAuthDeviceManager::DeviceChangeResult::CHANGED));
593 success_callback_.Run(get_my_devices_response_); 596 success_callback_.Run(get_my_devices_response_);
594 597
595 ExpectUnlockKeysAndPrefAreEqual(std::vector<cryptauth::ExternalDeviceInfo>( 598 ExpectUnlockKeysAndPrefAreEqual(std::vector<cryptauth::ExternalDeviceInfo>(
596 1, get_my_devices_response_.devices(0)), 599 1, get_my_devices_response_.devices(0)),
597 device_manager_->unlock_keys(), 600 device_manager_->unlock_keys(),
598 pref_service_); 601 pref_service_);
599 } 602 }
600 603
601 } // namespace proximity_auth 604 } // namespace proximity_auth
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698