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

Unified Diff: chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
Index: chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc
diff --git a/chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc b/chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc
index ebde8d3719087bf6407a17f1e8c11b4f50650735..82cc488871d1d7c1a6bab8353b4ef28775a9d948 100644
--- a/chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc
+++ b/chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc
@@ -4,6 +4,9 @@
#include "chrome/browser/chromeos/policy/cloud_external_data_manager_base.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include <map>
#include <string>
#include <vector>
@@ -13,6 +16,7 @@
#include "base/callback.h"
#include "base/location.h"
#include "base/logging.h"
+#include "base/macros.h"
#include "base/sequenced_task_runner.h"
#include "base/single_thread_task_runner.h"
#include "base/strings/string_number_conversions.h"
@@ -386,7 +390,7 @@ void CloudExternalDataManagerBase::OnPolicyStoreLoaded() {
const base::DictionaryValue* dict = NULL;
std::string url;
std::string hex_hash;
- std::vector<uint8> hash;
+ std::vector<uint8_t> hash;
if (it->second.value && it->second.value->GetAsDictionary(&dict) &&
dict->GetStringWithoutPathExpansion("url", &url) &&
dict->GetStringWithoutPathExpansion("hash", &hex_hash) &&

Powered by Google App Engine
This is Rietveld 408576698