• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
7 namespace net {
8 
9 static bool g_tcp_fastopen_enabled = false;
10 
set_tcp_fastopen_enabled(bool value)11 void set_tcp_fastopen_enabled(bool value) {
12   g_tcp_fastopen_enabled = value;
13 }
14 
is_tcp_fastopen_enabled()15 bool is_tcp_fastopen_enabled() {
16   return g_tcp_fastopen_enabled;
17 }
18 
19 }  // namespace net
20