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

Side by Side Diff: chrome/renderer/safe_browsing/murmurhash3_util.cc

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/renderer/safe_browsing/murmurhash3_util.h" 5 #include "chrome/renderer/safe_browsing/murmurhash3_util.h"
6 #include "third_party/smhasher/src/MurmurHash3.h" 6 #include "third_party/smhasher/src/MurmurHash3.h"
7 7
8 namespace safe_browsing { 8 namespace safe_browsing {
9 9
10 uint32 MurmurHash3String(const std::string& str, uint32 seed) { 10 uint32_t MurmurHash3String(const std::string& str, uint32_t seed) {
11 uint32 output; 11 uint32_t output;
12 MurmurHash3_x86_32(str.data(), str.size(), seed, &output); 12 MurmurHash3_x86_32(str.data(), str.size(), seed, &output);
13 return output; 13 return output;
14 } 14 }
15 15
16 } // namespace safe_browsing 16 } // namespace safe_browsing
OLDNEW
« no previous file with comments | « chrome/renderer/safe_browsing/murmurhash3_util.h ('k') | chrome/renderer/safe_browsing/phishing_classifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698