summaryrefslogtreecommitdiff
path: root/chromium/net/spdy/platform/impl/spdy_flags_impl.h
blob: 9dd6fb4148696322c5592fd12e12515be2c99c1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright 2018 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_SPDY_PLATFORM_IMPL_SPDY_FLAGS_IMPL_H_
#define NET_SPDY_PLATFORM_IMPL_SPDY_FLAGS_IMPL_H_

#include "net/base/net_export.h"

NET_EXPORT_PRIVATE extern bool spdy_enable_granular_decompress_errors;

inline bool GetSpdyReloadableFlagImpl(bool flag) {
  return flag;
}

#define SPDY_CODE_COUNT_IMPL(name) \
  do {                             \
  } while (0)

namespace spdy {

inline bool GetSpdyRestartFlagImpl(bool flag) {
  return flag;
}

#define SPDY_CODE_COUNT_N_IMPL(name, instance, total) \
  do {                                                \
  } while (0)
}  // namespace spdy

#endif  // NET_SPDY_PLATFORM_IMPL_SPDY_FLAGS_IMPL_H_