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

Unified Diff: base/memory/address_hasher.h

Issue 2702233002: [Experimental, DO NOT LAND] bucket num 4
Patch Set: impl Created 3 years, 10 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 | « base/BUILD.gn ('k') | base/memory/address_hasher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/memory/address_hasher.h
diff --git a/base/memory/address_hasher.h b/base/memory/address_hasher.h
new file mode 100644
index 0000000000000000000000000000000000000000..6ee9360516ccb8308c4c89077f393dc3fec5ad1b
--- /dev/null
+++ b/base/memory/address_hasher.h
@@ -0,0 +1,19 @@
+// Copyright 2017 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.
+
+#ifndef BASE_MEMORY_ADDRESS_HASHER_H_
+#define BASE_MEMORY_ADDRESS_HASHER_H_
+
+#include <stddef.h>
+#include <stdint.h>
+
+namespace base {
+
+struct AddressHasher {
+ size_t operator()(const void* address) const;
+};
+
+} // namespace base
+
+#endif // BASE_MEMORY_ADDRESS_HASHER_H_
« no previous file with comments | « base/BUILD.gn ('k') | base/memory/address_hasher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698