diff options
author | avi <avi@chromium.org> | 2015-12-22 16:39:26 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-23 00:40:04 +0000 |
commit | c9cec102fb11a2f3ca3156244446da2d3cdc36b8 (patch) | |
tree | b71268f8bd987d4a93d16e674f6e190462791f69 /extensions/browser/verified_contents_unittest.cc | |
parent | 389a09adfd1cfd035c37306cc10db23480930c28 (diff) | |
download | chromium_src-c9cec102fb11a2f3ca3156244446da2d3cdc36b8.zip chromium_src-c9cec102fb11a2f3ca3156244446da2d3cdc36b8.tar.gz chromium_src-c9cec102fb11a2f3ca3156244446da2d3cdc36b8.tar.bz2 |
Switch to standard integer types in extensions/browser/.
BUG=138542
TBR=benwells@chromium.org
Review URL: https://codereview.chromium.org/1549643002
Cr-Commit-Position: refs/heads/master@{#366702}
Diffstat (limited to 'extensions/browser/verified_contents_unittest.cc')
-rw-r--r-- | extensions/browser/verified_contents_unittest.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/extensions/browser/verified_contents_unittest.cc b/extensions/browser/verified_contents_unittest.cc index e4369e2..4d3c43d 100644 --- a/extensions/browser/verified_contents_unittest.cc +++ b/extensions/browser/verified_contents_unittest.cc @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include <stdint.h> + #include <string> #include <vector> @@ -51,7 +53,7 @@ TEST(VerifiedContents, Simple) { // Initialize the VerifiedContents object. std::string public_key; ASSERT_TRUE(GetPublicKey(path.AppendASCII(kPublicKeyPem), &public_key)); - VerifiedContents contents(reinterpret_cast<const uint8*>(public_key.data()), + VerifiedContents contents(reinterpret_cast<const uint8_t*>(public_key.data()), public_key.size()); base::FilePath verified_contents_path = path.AppendASCII("verified_contents.json"); @@ -139,7 +141,7 @@ TEST(VerifiedContents, FailsOnBase64) { // Initialize the VerifiedContents object. std::string public_key; ASSERT_TRUE(GetPublicKey(path.AppendASCII(kPublicKeyPem), &public_key)); - VerifiedContents contents(reinterpret_cast<const uint8*>(public_key.data()), + VerifiedContents contents(reinterpret_cast<const uint8_t*>(public_key.data()), public_key.size()); base::FilePath verified_contents_path = |