// Copyright 2011 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_SAFE_BROWSING_CONTENT_RENDERER_PHISHING_CLASSIFIER_MURMURHASH3_UTIL_H_ #define COMPONENTS_SAFE_BROWSING_CONTENT_RENDERER_PHISHING_CLASSIFIER_MURMURHASH3_UTIL_H_ #include <stdint.h> #include <string> namespace safe_browsing { // Runs the 32-bit murmurhash3 function on the given string and returns the // output as a uint32_t. uint32_t MurmurHash3String(const std::string& str, uint32_t seed); } // namespace safe_browsing #endif // COMPONENTS_SAFE_BROWSING_CONTENT_RENDERER_PHISHING_CLASSIFIER_MURMURHASH3_UTIL_H_