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

Side by Side Diff: components/proximity_auth/cryptauth/cryptauth_gcm_manager_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/cryptauth/cryptauth_gcm_manager_impl.h" 5 #include "components/proximity_auth/cryptauth/cryptauth_gcm_manager_impl.h"
6 6
7 #include "base/macros.h"
7 #include "base/prefs/testing_pref_service.h" 8 #include "base/prefs/testing_pref_service.h"
8 #include "components/gcm_driver/fake_gcm_driver.h" 9 #include "components/gcm_driver/fake_gcm_driver.h"
9 #include "components/gcm_driver/gcm_client.h" 10 #include "components/gcm_driver/gcm_client.h"
10 #include "components/proximity_auth/cryptauth/pref_names.h" 11 #include "components/proximity_auth/cryptauth/pref_names.h"
11 #include "testing/gmock/include/gmock/gmock.h" 12 #include "testing/gmock/include/gmock/gmock.h"
12 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
13 14
14 using ::testing::_; 15 using ::testing::_;
15 using ::testing::SaveArg; 16 using ::testing::SaveArg;
16 17
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 message.collapse_key = kCryptAuthMessageCollapseKey; 189 message.collapse_key = kCryptAuthMessageCollapseKey;
189 message.sender_id = kCryptAuthGCMSenderId; 190 message.sender_id = kCryptAuthGCMSenderId;
190 191
191 gcm::GCMAppHandler* gcm_app_handler = 192 gcm::GCMAppHandler* gcm_app_handler =
192 static_cast<gcm::GCMAppHandler*>(&gcm_manager_); 193 static_cast<gcm::GCMAppHandler*>(&gcm_manager_);
193 gcm_app_handler->OnMessage(kCryptAuthGCMAppId, message); 194 gcm_app_handler->OnMessage(kCryptAuthGCMAppId, message);
194 gcm_app_handler->OnMessage(kCryptAuthGCMAppId, message); 195 gcm_app_handler->OnMessage(kCryptAuthGCMAppId, message);
195 } 196 }
196 197
197 } // namespace proximity_auth 198 } // namespace proximity_auth
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698