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

Unified Diff: chrome/browser/extensions/api/cast_channel/cast_socket.h

Issue 160973002: Two chagnes to cast socket: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 10 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
Index: chrome/browser/extensions/api/cast_channel/cast_socket.h
===================================================================
--- chrome/browser/extensions/api/cast_channel/cast_socket.h (revision 250590)
+++ chrome/browser/extensions/api/cast_channel/cast_socket.h (working copy)
@@ -16,7 +16,6 @@
#include "base/threading/thread_checker.h"
#include "chrome/browser/extensions/api/api_resource.h"
#include "chrome/browser/extensions/api/api_resource_manager.h"
-#include "chrome/browser/extensions/api/cast_channel/cast_channel.pb.h"
#include "chrome/common/extensions/api/cast_channel.h"
#include "net/base/completion_callback.h"
#include "net/base/io_buffer.h"
@@ -37,6 +36,8 @@
namespace api {
namespace cast_channel {
+class CastMessage;
+
// Size (in bytes) of the largest allowed message payload on the wire (without
// the header).
extern const uint32 kMaxMessageSize;
@@ -277,7 +278,7 @@
// The number of bytes in the current message body.
uint32 current_message_size_;
// Last message received on the socket.
- CastMessage current_message_;
+ scoped_ptr<CastMessage> current_message_;
// The NetLog for this service.
net::NetLog* net_log_;

Powered by Google App Engine
This is Rietveld 408576698