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

Side by Side Diff: base/memory/address_hasher.h

Issue 2654073002: base: Introduce SharedMemoryTracker for POSIX (but not macOS) (Closed)
Patch Set: Use AddressHasher 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 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 BASE_MEMORY_ADDRESS_HASHER_H_
6 #define BASE_MEMORY_ADDRESS_HASHER_H_
7
8 #include <stddef.h>
9 #include <stdint.h>
10
11 namespace base {
12
13 struct AddressHasher {
14 size_t operator()(const void* address) const;
15 };
16
17 } // namespace base
18
19 #endif // BASE_MEMORY_ADDRESS_HASHER_H_
OLDNEW
« no previous file with comments | « base/BUILD.gn ('k') | base/memory/address_hasher.cc » ('j') | base/memory/address_hasher.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698