summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-20 14:41:32 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-20 14:41:32 +0000
commitb18c47fc56f88b3d73ad6b8f3b1ca3a5f3037baf (patch)
tree93bc966d5d13280dcdeab1b7d5a835336d0b5f89
parent2f1fda28db784f610145c89de3a6a0dad9ca26b8 (diff)
downloadchromium_src-b18c47fc56f88b3d73ad6b8f3b1ca3a5f3037baf.zip
chromium_src-b18c47fc56f88b3d73ad6b8f3b1ca3a5f3037baf.tar.gz
chromium_src-b18c47fc56f88b3d73ad6b8f3b1ca3a5f3037baf.tar.bz2
Remove deprecated_flags field from VideoPacket
BUG=290169 Review URL: https://codereview.chromium.org/195893041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258280 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--remoting/proto/video.proto3
-rw-r--r--remoting/protocol/protobuf_video_writer.cc5
2 files changed, 0 insertions, 8 deletions
diff --git a/remoting/proto/video.proto b/remoting/proto/video.proto
index 95998be..db3a08c 100644
--- a/remoting/proto/video.proto
+++ b/remoting/proto/video.proto
@@ -42,9 +42,6 @@ message Rect {
}
message VideoPacket {
- // Deprecated. Must be set to 7 for backward compatibility.
- optional int32 deprecated_flags = 1 [default = 7];
-
optional VideoPacketFormat format = 4;
optional bytes data = 5;
diff --git a/remoting/protocol/protobuf_video_writer.cc b/remoting/protocol/protobuf_video_writer.cc
index 7fd57c7..08e937b 100644
--- a/remoting/protocol/protobuf_video_writer.cc
+++ b/remoting/protocol/protobuf_video_writer.cc
@@ -63,11 +63,6 @@ bool ProtobufVideoWriter::is_connected() {
void ProtobufVideoWriter::ProcessVideoPacket(scoped_ptr<VideoPacket> packet,
const base::Closure& done) {
- // Older clients may expect deprecated flags field. Always set it to 7.
- //
- // TODO(sergeyu): Remove this field after M31 is released.
- packet->set_deprecated_flags(7);
-
buffered_writer_.Write(SerializeAndFrameMessage(*packet), done);
}