1// Copyright (c) 2006-2009 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
5#include "net/socket/tcp_client_socket.h"
6
7namespace net {
8
9static bool g_tcp_fastopen_enabled = false;
10
11void set_tcp_fastopen_enabled(bool value) {
12  g_tcp_fastopen_enabled = value;
13}
14
15bool is_tcp_fastopen_enabled() {
16  return g_tcp_fastopen_enabled;
17}
18
19}  // namespace net
20