blob: d968f1a46057c03ded77f0e9b8f033a02f6c594c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Copyright 2022 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 NET_QUIC_SET_QUIC_FLAG_H_
#define NET_QUIC_SET_QUIC_FLAG_H_
#include <string>
#include "net/base/net_export.h"
namespace net {
// Sets the flag named |flag_name| to the value of |value| after converting
// it from a string to the appropriate type. If |value| is invalid or out of
// range, the flag will be unchanged.
NET_EXPORT_PRIVATE void SetQuicFlagByName(const std::string& flag_name,
const std::string& value);
} // namespace net
#endif // NET_QUIC_SET_QUIC_FLAG_H_
|