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

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

Issue 8790015: Make SpdyFrame::size a constant instead of a static method so gcc can optimize the call away. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: fff Created 9 years 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/spdy/spdy_test_util.cc ('k') | net/tools/flip_server/spdy_interface.cc » ('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
index 47ed535116fcb632bfe81c8c54e92e8f43860865..c0bc98c19e2b49c40254dc197077666ff09e1f5f 100644
--- a/net/tools/flip_server/constants.h
+++ b/net/tools/flip_server/constants.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -9,7 +9,7 @@
const int kMSS = 1460;
const int kSSLOverhead = 25;
-const int kSpdyOverhead = spdy::SpdyFrame::size();
+const int kSpdyOverhead = spdy::SpdyFrame::kHeaderSize;
const int kInitialDataSendersThreshold = (2 * kMSS) - kSpdyOverhead;
const int kSSLSegmentSize = (1 * kMSS) - kSSLOverhead;
const int kSpdySegmentSize = kSSLSegmentSize - kSpdyOverhead;
@@ -28,4 +28,3 @@ const int kSpdySegmentSize = kSSLSegmentSize - kSpdyOverhead;
#define PIDFILE "/var/run/flip-server.pid"
#endif // NET_TOOLS_FLIP_SERVER_CONSTANTS_H_
-
« no previous file with comments | « net/spdy/spdy_test_util.cc ('k') | net/tools/flip_server/spdy_interface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698