Check USB device path access when prompting users to select a device.
[chromium-blink-merge.git] / chrome / renderer / safe_browsing / murmurhash3_util.h
blob8569c7769edeaa86a16c5413b94595bca06a295f
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.
5 #ifndef CHROME_RENDERER_SAFE_BROWSING_MURMURHASH3_UTIL_H_
6 #define CHROME_RENDERER_SAFE_BROWSING_MURMURHASH3_UTIL_H_
8 #include <string>
9 #include "base/basictypes.h"
11 namespace safe_browsing {
13 // Runs the 32-bit murmurhash3 function on the given string and returns the
14 // output as a uint32.
15 uint32 MurmurHash3String(const std::string& str, uint32 seed);
17 } // namespace safe_browsing
19 #endif // CHROME_RENDERER_SAFE_BROWSING_MURMURHASH3_UTIL_H_