| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/socket/tcp_socket.h" | 5 #include "net/socket/tcp_socket.h" |
| 6 | 6 |
| 7 #include "base/file_util.h" | |
| 8 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "base/files/file_util.h" |
| 9 #include "base/location.h" | 9 #include "base/location.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "base/threading/worker_pool.h" | 11 #include "base/threading/worker_pool.h" |
| 12 | 12 |
| 13 namespace net { | 13 namespace net { |
| 14 | 14 |
| 15 namespace { | 15 namespace { |
| 16 | 16 |
| 17 bool g_tcp_fastopen_enabled = false; | 17 bool g_tcp_fastopen_enabled = false; |
| 18 | 18 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 } else { | 74 } else { |
| 75 g_tcp_fastopen_enabled = false; | 75 g_tcp_fastopen_enabled = false; |
| 76 } | 76 } |
| 77 } | 77 } |
| 78 | 78 |
| 79 bool IsTCPFastOpenEnabled() { | 79 bool IsTCPFastOpenEnabled() { |
| 80 return g_tcp_fastopen_enabled; | 80 return g_tcp_fastopen_enabled; |
| 81 } | 81 } |
| 82 | 82 |
| 83 } // namespace net | 83 } // namespace net |
| OLD | NEW |