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

Unified Diff: blimp/common/protocol_version.cc

Issue 1501463003: [Blimp Net] Client sends START_CONNECTION message (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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
Index: blimp/common/protocol_version.cc
diff --git a/blimp/net/common.cc b/blimp/common/protocol_version.cc
similarity index 61%
copy from blimp/net/common.cc
copy to blimp/common/protocol_version.cc
index 1663b300534f03ff610710b6d2630a5f7c04c427..8b0e7ea249e3cd6577c0a49d0dd811cddfbd6bbe 100644
--- a/blimp/net/common.cc
+++ b/blimp/common/protocol_version.cc
@@ -2,11 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "blimp/net/common.h"
+#include "blimp/common/protocol_version.h"
namespace blimp {
-const size_t kMaxPacketPayloadSizeBytes = 1 << 16; // 64KB
-const size_t kPacketHeaderSizeBytes = 4;
+const int kProtocolVersion = 0;
Wez 2015/12/09 02:30:03 Do we need a cc file for this, or could we remove
haibinlu 2015/12/09 19:40:34 removed cc file.
} // namespace blimp

Powered by Google App Engine
This is Rietveld 408576698