Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(412)

Side by Side Diff: net/tools/flip_server/flip_config.cc

Issue 16519003: Define a LoggingSettings struct to use for InitLogging() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile error Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/disk_cache/stress_cache.cc ('k') | net/tools/flip_server/flip_in_mem_edsm_server.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « net/disk_cache/stress_cache.cc ('k') | net/tools/flip_server/flip_in_mem_edsm_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698