| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_RENDERER_SAFE_BROWSING_MURMURHASH3_UTIL_H_ | |
| 6 #define CHROME_RENDERER_SAFE_BROWSING_MURMURHASH3_UTIL_H_ | |
| 7 | |
| 8 #include <stdint.h> | |
| 9 | |
| 10 #include <string> | |
| 11 | |
| 12 namespace safe_browsing { | |
| 13 | |
| 14 // Runs the 32-bit murmurhash3 function on the given string and returns the | |
| 15 // output as a uint32_t. | |
| 16 uint32_t MurmurHash3String(const std::string& str, uint32_t seed); | |
| 17 | |
| 18 } // namespace safe_browsing | |
| 19 | |
| 20 #endif // CHROME_RENDERER_SAFE_BROWSING_MURMURHASH3_UTIL_H_ | |
| OLD | NEW |