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

Unified Diff: extensions/browser/verified_contents.h

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
Patch Set: 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 | « extensions/browser/value_store/value_store_frontend.cc ('k') | extensions/browser/verified_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/verified_contents.h
diff --git a/extensions/browser/verified_contents.h b/extensions/browser/verified_contents.h
index 4dec46c506b38f5e575af7b5e11a2fb01aa152b2..38265e51ddb7ccd9aaded4729bfeddc3b1f1191a 100644
--- a/extensions/browser/verified_contents.h
+++ b/extensions/browser/verified_contents.h
@@ -5,11 +5,14 @@
#ifndef EXTENSIONS_BROWSER_VERIFIED_CONTENTS_H_
#define EXTENSIONS_BROWSER_VERIFIED_CONTENTS_H_
+#include <stdint.h>
+
#include <map>
#include <string>
#include <vector>
#include "base/files/file_path.h"
+#include "base/macros.h"
#include "base/version.h"
namespace extensions {
@@ -21,7 +24,7 @@ namespace extensions {
class VerifiedContents {
public:
// Note: the public_key must remain valid for the lifetime of this object.
- VerifiedContents(const uint8* public_key, int public_key_size);
+ VerifiedContents(const uint8_t* public_key, int public_key_size);
~VerifiedContents();
// Returns true if we successfully parsed the verified_contents.json file at
@@ -60,7 +63,7 @@ class VerifiedContents {
const std::string& signature_bytes);
// The public key we should use for signature verification.
- const uint8* public_key_;
+ const uint8_t* public_key_;
const int public_key_size_;
// Indicates whether the signature was successfully validated or not.
« no previous file with comments | « extensions/browser/value_store/value_store_frontend.cc ('k') | extensions/browser/verified_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698