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

Unified Diff: net/tools/flip_server/constants.h

Issue 2169503002: Remove flip_server. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/tools/flip_server/acceptor_thread.cc ('k') | net/tools/flip_server/flip_config.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/flip_server/constants.h
diff --git a/net/tools/flip_server/constants.h b/net/tools/flip_server/constants.h
deleted file mode 100644
index 551650909c4eb159327965bfc4774c96373ed7e2..0000000000000000000000000000000000000000
--- a/net/tools/flip_server/constants.h
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef NET_TOOLS_FLIP_SERVER_CONSTANTS_H_
-#define NET_TOOLS_FLIP_SERVER_CONSTANTS_H_
-
-#include "net/spdy/spdy_protocol.h"
-
-const int kMSS = 1460;
-const int kSSLOverhead = 25;
-const int kSpdyOverhead = 8;
-const int kInitialDataSendersThreshold = (2 * kMSS) - kSpdyOverhead;
-const int kSSLSegmentSize = (1 * kMSS) - kSSLOverhead;
-const int kSpdySegmentSize = kSSLSegmentSize - kSpdyOverhead;
-
-#define ACCEPTOR_CLIENT_IDENT \
- acceptor_->listen_ip_ << ":" << acceptor_->listen_port_ << " "
-
-#define IPV4_PRINTABLE_FORMAT(IP) (((IP)>>0)&0xff), (((IP)>>8)&0xff), \
- (((IP)>>16)&0xff), (((IP)>>24)&0xff)
-
-#define PIDFILE "/var/run/flip-server.pid"
-
-#endif // NET_TOOLS_FLIP_SERVER_CONSTANTS_H_
« no previous file with comments | « net/tools/flip_server/acceptor_thread.cc ('k') | net/tools/flip_server/flip_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698