diff options
author | Cronet Mainline Eng <cronet-mainline-eng+copybara@google.com> | 2023-03-20 09:24:50 -0800 |
---|---|---|
committer | Patrick Rohr <prohr@google.com> | 2023-03-20 10:25:51 -0700 |
commit | 14c9064f78517fd0e9366547030c0493aa075b47 (patch) | |
tree | 6e03046ec4055bb9881ff0341716266b5d53782b /net/traffic_annotation/network_traffic_annotation_android.cc | |
parent | d1add53d6e90815f363c91d433735556ce79b0d2 (diff) | |
download | cronet-14c9064f78517fd0e9366547030c0493aa075b47.tar.gz |
Import Cronet version 108.0.5359.128
Project import generated by Copybara.
FolderOrigin-RevId: /tmp/copybara-origin/src
Test: none
Change-Id: I98ebcd5784650764c7cd70ab175dd4e1cc790dff
Diffstat (limited to 'net/traffic_annotation/network_traffic_annotation_android.cc')
-rw-r--r-- | net/traffic_annotation/network_traffic_annotation_android.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net/traffic_annotation/network_traffic_annotation_android.cc b/net/traffic_annotation/network_traffic_annotation_android.cc new file mode 100644 index 000000000..95cbefaa7 --- /dev/null +++ b/net/traffic_annotation/network_traffic_annotation_android.cc @@ -0,0 +1,15 @@ +// Copyright 2021 The Chromium Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "net/traffic_annotation/network_traffic_annotation.h" + +namespace net { + +// static +NetworkTrafficAnnotationTag NetworkTrafficAnnotationTag::FromJavaAnnotation( + int32_t unique_id_hash_code) { + return NetworkTrafficAnnotationTag(unique_id_hash_code); +} + +} // namespace net |