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

Unified Diff: chrome/browser/supervised_user/supervised_user_site_list.h

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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
Index: chrome/browser/supervised_user/supervised_user_site_list.h
diff --git a/chrome/browser/supervised_user/supervised_user_site_list.h b/chrome/browser/supervised_user/supervised_user_site_list.h
index eb33e394fdbe885d00c9d6bc296251167e8d3284..677ce620b166b6242e9c3f3abb998d05f5659e3c 100644
--- a/chrome/browser/supervised_user/supervised_user_site_list.h
+++ b/chrome/browser/supervised_user/supervised_user_site_list.h
@@ -5,12 +5,16 @@
#ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SITE_LIST_H_
#define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SITE_LIST_H_
+#include <stddef.h>
+#include <stdint.h>
+
#include <array>
#include <string>
#include <vector>
#include "base/callback_forward.h"
#include "base/files/file_path.h"
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/sha1.h"
@@ -40,7 +44,7 @@ class SupervisedUserSiteList
public:
explicit HostnameHash(const std::string& hostname);
// |bytes| must have a size of at least |base::kSHA1Length|.
- explicit HostnameHash(const std::vector<uint8>& bytes);
+ explicit HostnameHash(const std::vector<uint8_t>& bytes);
bool operator==(const HostnameHash& rhs) const;
@@ -48,7 +52,7 @@ class SupervisedUserSiteList
size_t hash() const;
private:
- std::array<uint8, base::kSHA1Length> bytes_;
+ std::array<uint8_t, base::kSHA1Length> bytes_;
// Copy and assign are allowed.
};

Powered by Google App Engine
This is Rietveld 408576698