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

Unified Diff: components/ownership/mock_owner_key_util.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 5 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/ownership/mock_owner_key_util.h ('k') | components/ownership/owner_key_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ownership/mock_owner_key_util.cc
diff --git a/components/ownership/mock_owner_key_util.cc b/components/ownership/mock_owner_key_util.cc
index 5b28c785e001b71d364b78f223dc07e1250c2767..e00ef1c451da7c1c6272c3e5b156e284c11659ed 100644
--- a/components/ownership/mock_owner_key_util.cc
+++ b/components/ownership/mock_owner_key_util.cc
@@ -20,13 +20,13 @@ MockOwnerKeyUtil::MockOwnerKeyUtil() {
MockOwnerKeyUtil::~MockOwnerKeyUtil() {
}
-bool MockOwnerKeyUtil::ImportPublicKey(std::vector<uint8>* output) {
+bool MockOwnerKeyUtil::ImportPublicKey(std::vector<uint8_t>* output) {
*output = public_key_;
return !public_key_.empty();
}
crypto::ScopedSECKEYPrivateKey MockOwnerKeyUtil::FindPrivateKeyInSlot(
- const std::vector<uint8>& key,
+ const std::vector<uint8_t>& key,
PK11SlotInfo* slot) {
if (!private_key_)
return nullptr;
@@ -43,7 +43,7 @@ void MockOwnerKeyUtil::Clear() {
private_key_.reset();
}
-void MockOwnerKeyUtil::SetPublicKey(const std::vector<uint8>& key) {
+void MockOwnerKeyUtil::SetPublicKey(const std::vector<uint8_t>& key) {
public_key_ = key;
}
« no previous file with comments | « components/ownership/mock_owner_key_util.h ('k') | components/ownership/owner_key_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698