summaryrefslogtreecommitdiff
path: root/base/uuid.h
diff options
context:
space:
mode:
authorCronet Mainline Eng <cronet-mainline-eng+copybara@google.com>2024-01-02 11:58:25 +0000
committerMohannad Farrag <aymanm@google.com>2024-01-02 12:02:18 +0000
commita593a16fd9fcd0dd4906673341bc921abb285b97 (patch)
tree6bca400c3096478188c12c7bf183d8652e8c8591 /base/uuid.h
parentec3a8e8db24bb3ce4b078106b358ca1c4389c14f (diff)
downloadcronet-a593a16fd9fcd0dd4906673341bc921abb285b97.tar.gz
Import Cronet version 121.0.6103.2
FolderOrigin-RevId: /tmp/copybara-origin/src Change-Id: I690becfaba7ad4293eba08b4f9d1aa7f953fce20
Diffstat (limited to 'base/uuid.h')
-rw-r--r--base/uuid.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/base/uuid.h b/base/uuid.h
index f5b1752ad..e73a06a41 100644
--- a/base/uuid.h
+++ b/base/uuid.h
@@ -12,7 +12,6 @@
#include "base/base_export.h"
#include "base/containers/span.h"
-#include "base/hash/hash.h"
#include "base/strings/string_piece.h"
#include "base/types/pass_key.h"
#include "build/build_config.h"
@@ -107,11 +106,7 @@ class BASE_EXPORT Uuid {
// For runtime usage only. Do not store the result of this hash, as it may
// change in future Chromium revisions.
struct BASE_EXPORT UuidHash {
- size_t operator()(const Uuid& uuid) const {
- // TODO(crbug.com/1026195): Avoid converting to string to take the hash when
- // the internal type is migrated to a non-string type.
- return FastHash(uuid.AsLowercaseString());
- }
+ size_t operator()(const Uuid& uuid) const;
};
// Stream operator so Uuid objects can be used in logging statements.