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

Unified Diff: content/browser/bluetooth/bluetooth_metrics.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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: content/browser/bluetooth/bluetooth_metrics.cc
diff --git a/content/browser/bluetooth/bluetooth_metrics.cc b/content/browser/bluetooth/bluetooth_metrics.cc
index 32dde3b0fd68768a3df88f522063a0da4a3a36e3..ef829203bbaecbe5d868975258363ec28c751f79 100644
--- a/content/browser/bluetooth/bluetooth_metrics.cc
+++ b/content/browser/bluetooth/bluetooth_metrics.cc
@@ -4,6 +4,8 @@
#include "content/browser/bluetooth/bluetooth_metrics.h"
+#include <stdint.h>
+
#include <map>
#include <set>
#include "base/hash.h"
@@ -18,7 +20,7 @@ namespace {
// TODO(ortuno): Remove once we have a macro to histogram strings.
// http://crbug.com/520284
int HashUUID(const std::string& uuid) {
- uint32 data = base::SuperFastHash(uuid.data(), uuid.size());
+ uint32_t data = base::SuperFastHash(uuid.data(), uuid.size());
// Strip off the signed bit because UMA doesn't support negative values,
// but takes a signed int as input.
« no previous file with comments | « content/browser/bluetooth/bluetooth_dispatcher_host.cc ('k') | content/browser/bootstrap_sandbox_manager_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698