network_traffic_annotation_android.cc 451 B

123456789101112131415
  1. // Copyright 2021 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. #include "net/traffic_annotation/network_traffic_annotation.h"
  5. namespace net {
  6. // static
  7. NetworkTrafficAnnotationTag NetworkTrafficAnnotationTag::FromJavaAnnotation(
  8. int32_t unique_id_hash_code) {
  9. return NetworkTrafficAnnotationTag(unique_id_hash_code);
  10. }
  11. } // namespace net