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

Side by Side Diff: components/gcm_driver/crypto/encryption_header_parsers_unittest.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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/gcm_driver/crypto/encryption_header_parsers.h" 5 #include "components/gcm_driver/crypto/encryption_header_parsers.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include <vector> 10 #include <vector>
8 11
9 #include "base/macros.h" 12 #include "base/macros.h"
10 #include "base/strings/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
11 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
12 15
13 namespace gcm { 16 namespace gcm {
14 17
15 namespace { 18 namespace {
16 19
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 ASSERT_EQ(1u, crypto_key_values.size()); 289 ASSERT_EQ(1u, crypto_key_values.size());
287 290
288 EXPECT_EQ("myotherkeyid", crypto_key_values[0].keyid); 291 EXPECT_EQ("myotherkeyid", crypto_key_values[0].keyid);
289 EXPECT_EQ("akey", crypto_key_values[0].aesgcm128); 292 EXPECT_EQ("akey", crypto_key_values[0].aesgcm128);
290 EXPECT_EQ("yourdh", crypto_key_values[0].dh); 293 EXPECT_EQ("yourdh", crypto_key_values[0].dh);
291 } 294 }
292 295
293 } // namespace 296 } // namespace
294 297
295 } // namespace gcm 298 } // namespace gcm
OLDNEW
« no previous file with comments | « components/gcm_driver/android/component_jni_registrar.cc ('k') | components/gcm_driver/crypto/gcm_crypto_test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698