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

Unified Diff: remoting/protocol/util.h

Issue 231943005: Rename remoting/protocol/util.h to message_serialization.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | « remoting/protocol/protobuf_video_writer.cc ('k') | remoting/protocol/util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/util.h
diff --git a/remoting/protocol/util.h b/remoting/protocol/util.h
deleted file mode 100644
index ebcd5e28fe4467c0b7aaa34fa0023510bcabb145..0000000000000000000000000000000000000000
--- a/remoting/protocol/util.h
+++ /dev/null
@@ -1,32 +0,0 @@
-// 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.
-
-// This file defines utility methods used for encoding and decoding the protocol
-// used in Chromoting.
-
-#ifndef REMOTING_PROTOCOL_UTIL_H_
-#define REMOTING_PROTOCOL_UTIL_H_
-
-#include "net/base/io_buffer.h"
-
-#if defined(USE_SYSTEM_PROTOBUF)
-#include <google/protobuf/message_lite.h>
-#else
-#include "third_party/protobuf/src/google/protobuf/message_lite.h"
-#endif
-
-namespace remoting {
-namespace protocol {
-
-// Serialize the Protocol Buffer message and provide sufficient framing for
-// sending it over the wire.
-// This will provide sufficient prefix and suffix for the receiver side to
-// decode the message.
-scoped_refptr<net::IOBufferWithSize> SerializeAndFrameMessage(
- const google::protobuf::MessageLite& msg);
-
-} // namespace protocol
-} // namespace remoting
-
-#endif // REMOTING_PROTOCOL_UTIL_H_
« no previous file with comments | « remoting/protocol/protobuf_video_writer.cc ('k') | remoting/protocol/util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698