| 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_
|
|
|