• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2024 The Chromium Authors
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 NET_BASE_LOAD_FLAGS_TO_STRING_H_
6 #define NET_BASE_LOAD_FLAGS_TO_STRING_H_
7 
8 #include <string>
9 
10 #include "net/base/net_export.h"
11 
12 namespace net {
13 
14 // Convert `load_flags` to a string of the form "LOAD_ONLY_FROM_CACHE |
15 // LOAD_SKIP_VARY_CHECK".
16 NET_EXPORT_PRIVATE std::string LoadFlagsToString(int load_flags);
17 
18 }  // namespace net
19 
20 #endif  // NET_BASE_LOAD_FLAGS_TO_STRING_H_
21