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

Unified Diff: chrome_elf/dll_hash/dll_hash.cc

Issue 1851213002: Remove sandbox on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix nacl compile issues Created 4 years, 9 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
« no previous file with comments | « chrome_elf/dll_hash/dll_hash.h ('k') | chrome_elf/dll_hash/dll_hash_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_elf/dll_hash/dll_hash.cc
diff --git a/chrome_elf/dll_hash/dll_hash.cc b/chrome_elf/dll_hash/dll_hash.cc
deleted file mode 100644
index 9a353855dbad99fd286f558b1a4a0cc83613b7f8..0000000000000000000000000000000000000000
--- a/chrome_elf/dll_hash/dll_hash.cc
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright 2014 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 <stdint.h>
-
-#include "base/hash.h"
-#include "chrome_elf/dll_hash/dll_hash.h"
-
-int DllNameToHash(const std::string& dll_name) {
- uint32_t data = base::Hash(dll_name);
-
- // Strip off the signed bit because UMA doesn't support negative values,
- // but takes a signed int as input.
- return static_cast<int>(data & 0x7fffffff);
-}
« no previous file with comments | « chrome_elf/dll_hash/dll_hash.h ('k') | chrome_elf/dll_hash/dll_hash_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698