| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/tools/flip_server/flip_config.h" | 5 #include "net/tools/flip_server/flip_config.h" |
| 6 | 6 |
| 7 #include <unistd.h> | 7 #include <unistd.h> |
| 8 | 8 |
| 9 namespace net { | 9 namespace net { |
| 10 | 10 |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 << (ssl_cert_filename.size()?"true":"false"); | 90 << (ssl_cert_filename.size()?"true":"false"); |
| 91 VLOG(1) << "\tCertificate : " << ssl_cert_filename; | 91 VLOG(1) << "\tCertificate : " << ssl_cert_filename; |
| 92 VLOG(1) << "\tKey : " << ssl_key_filename; | 92 VLOG(1) << "\tKey : " << ssl_key_filename; |
| 93 VLOG(1) << "\tSpdy Only : " << (spdy_only?"true":"flase"); | 93 VLOG(1) << "\tSpdy Only : " << (spdy_only?"true":"flase"); |
| 94 } | 94 } |
| 95 | 95 |
| 96 FlipAcceptor::~FlipAcceptor() {} | 96 FlipAcceptor::~FlipAcceptor() {} |
| 97 | 97 |
| 98 FlipConfig::FlipConfig() | 98 FlipConfig::FlipConfig() |
| 99 : server_think_time_in_s_(0), | 99 : server_think_time_in_s_(0), |
| 100 log_destination_(logging::LOG_ONLY_TO_SYSTEM_DEBUG_LOG), | 100 log_destination_(logging::LOG_TO_SYSTEM_DEBUG_LOG), |
| 101 wait_for_iface_(false) { | 101 wait_for_iface_(false) { |
| 102 } | 102 } |
| 103 | 103 |
| 104 FlipConfig::~FlipConfig() {} | 104 FlipConfig::~FlipConfig() {} |
| 105 | 105 |
| 106 void FlipConfig::AddAcceptor(enum FlipHandlerType flip_handler_type, | 106 void FlipConfig::AddAcceptor(enum FlipHandlerType flip_handler_type, |
| 107 std::string listen_ip, | 107 std::string listen_ip, |
| 108 std::string listen_port, | 108 std::string listen_port, |
| 109 std::string ssl_cert_filename, | 109 std::string ssl_cert_filename, |
| 110 std::string ssl_key_filename, | 110 std::string ssl_key_filename, |
| (...skipping 21 matching lines...) Expand all Loading... |
| 132 spdy_only, | 132 spdy_only, |
| 133 accept_backlog_size, | 133 accept_backlog_size, |
| 134 disable_nagle, | 134 disable_nagle, |
| 135 accepts_per_wake, | 135 accepts_per_wake, |
| 136 reuseport, | 136 reuseport, |
| 137 wait_for_iface, | 137 wait_for_iface, |
| 138 memory_cache)); | 138 memory_cache)); |
| 139 } | 139 } |
| 140 | 140 |
| 141 } // namespace | 141 } // namespace |
| OLD | NEW |