summaryrefslogtreecommitdiffstats
path: root/extensions/browser/verified_contents_unittest.cc
diff options
context:
space:
mode:
authoravi <avi@chromium.org>2015-12-22 16:39:26 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-23 00:40:04 +0000
commitc9cec102fb11a2f3ca3156244446da2d3cdc36b8 (patch)
treeb71268f8bd987d4a93d16e674f6e190462791f69 /extensions/browser/verified_contents_unittest.cc
parent389a09adfd1cfd035c37306cc10db23480930c28 (diff)
downloadchromium_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.cc6
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 =