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

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

Issue 7866011: Switch to the new client-side phishing model that uses Murmurhash for word hashes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile problems and add another test Created 9 years, 3 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 | Annotate | Revision Log
OLDNEW
(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 <string>
9 #include "base/basictypes.h"
10
11 namespace safe_browsing {
12
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);
16
17 } // namespace safe_browsing
18
19 #endif // CHROME_RENDERER_SAFE_BROWSING_MURMURHASH3_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/common/safe_browsing/client_model.proto ('k') | chrome/renderer/safe_browsing/murmurhash3_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698