Check USB device path access when prompting users to select a device.
[chromium-blink-merge.git] / chrome / renderer / safe_browsing / murmurhash3_util.cc
blob9569b32f86139e96901627647b2127b59cbf6320
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 #include "chrome/renderer/safe_browsing/murmurhash3_util.h"
6 #include "third_party/smhasher/src/MurmurHash3.h"
8 namespace safe_browsing {
10 uint32 MurmurHash3String(const std::string& str, uint32 seed) {
11 uint32 output;
12 MurmurHash3_x86_32(str.data(), str.size(), seed, &output);
13 return output;
16 } // namespace safe_browsing