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

Unified Diff: chrome/renderer/safe_browsing/murmurhash3_util.cc

Issue 2667343006: Componentize safe_browsing [X+1] : move the renderer part to component.
Patch Set: Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/safe_browsing/murmurhash3_util.cc
diff --git a/chrome/renderer/safe_browsing/murmurhash3_util.cc b/chrome/renderer/safe_browsing/murmurhash3_util.cc
deleted file mode 100644
index 4134203e0ed60c5074cd1df561095c8c6dc0715f..0000000000000000000000000000000000000000
--- a/chrome/renderer/safe_browsing/murmurhash3_util.cc
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/renderer/safe_browsing/murmurhash3_util.h"
-#include "third_party/smhasher/src/MurmurHash3.h"
-
-namespace safe_browsing {
-
-uint32_t MurmurHash3String(const std::string& str, uint32_t seed) {
- uint32_t output;
- MurmurHash3_x86_32(str.data(), str.size(), seed, &output);
- return output;
-}
-
-} // namespace safe_browsing
« no previous file with comments | « chrome/renderer/safe_browsing/murmurhash3_util.h ('k') | chrome/renderer/safe_browsing/murmurhash3_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698