Windows should animate when they are about to get docked at screen edges.
[chromium-blink-merge.git] / net / tools / flip_server / constants.h
blob8b770a60773b16a5f632a0c7eb39814c1302b5bb
1 // Copyright (c) 2012 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.
5 #ifndef NET_TOOLS_FLIP_SERVER_CONSTANTS_H_
6 #define NET_TOOLS_FLIP_SERVER_CONSTANTS_H_
8 #include "net/spdy/spdy_protocol.h"
10 const int kMSS = 1460;
11 const int kSSLOverhead = 25;
12 const int kSpdyOverhead = 8;
13 const int kInitialDataSendersThreshold = (2 * kMSS) - kSpdyOverhead;
14 const int kSSLSegmentSize = (1 * kMSS) - kSSLOverhead;
15 const int kSpdySegmentSize = kSSLSegmentSize - kSpdyOverhead;
17 #define ACCEPTOR_CLIENT_IDENT \
18 acceptor_->listen_ip_ << ":" \
19 << acceptor_->listen_port_ << " "
21 #define NEXT_PROTO_STRING "\x06spdy/2\x08http/1.1\x08http/1.0"
23 #define SSL_CIPHER_LIST "!aNULL:!ADH:!eNull:!LOW:!EXP:RC4+RSA:MEDIUM:HIGH"
25 #define IPV4_PRINTABLE_FORMAT(IP) (((IP)>>0)&0xff), (((IP)>>8)&0xff), \
26 (((IP)>>16)&0xff), (((IP)>>24)&0xff)
28 #define PIDFILE "/var/run/flip-server.pid"
30 #endif // NET_TOOLS_FLIP_SERVER_CONSTANTS_H_