OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "blimp/client/core/compositor/blob_channel_feature.h" | 5 #include "blimp/client/core/compositor/blob_channel_feature.h" |
6 | 6 |
| 7 #include "base/memory/ptr_util.h" |
7 #include "blimp/common/blob_cache/in_memory_blob_cache.h" | 8 #include "blimp/common/blob_cache/in_memory_blob_cache.h" |
8 #include "blimp/common/proto/blimp_message.pb.h" | 9 #include "blimp/common/proto/blimp_message.pb.h" |
9 #include "blimp/net/blob_channel/blob_channel_receiver.h" | 10 #include "blimp/net/blob_channel/blob_channel_receiver.h" |
10 #include "blimp/net/blob_channel/helium_blob_receiver_delegate.h" | 11 #include "blimp/net/blob_channel/helium_blob_receiver_delegate.h" |
11 | 12 |
12 namespace blimp { | 13 namespace blimp { |
13 namespace client { | 14 namespace client { |
14 | 15 |
15 BlobChannelFeature::BlobChannelFeature( | 16 BlobChannelFeature::BlobChannelFeature( |
16 BlobImageSerializationProcessor::ErrorDelegate* delegate) { | 17 BlobImageSerializationProcessor::ErrorDelegate* delegate) { |
(...skipping 19 matching lines...) Expand all Loading... |
36 std::unique_ptr<BlimpMessage> message, | 37 std::unique_ptr<BlimpMessage> message, |
37 const net::CompletionCallback& callback) { | 38 const net::CompletionCallback& callback) { |
38 DCHECK(incoming_msg_processor_); | 39 DCHECK(incoming_msg_processor_); |
39 | 40 |
40 // Forward the message to |incoming_msg_processor_|. | 41 // Forward the message to |incoming_msg_processor_|. |
41 incoming_msg_processor_->ProcessMessage(std::move(message), callback); | 42 incoming_msg_processor_->ProcessMessage(std::move(message), callback); |
42 } | 43 } |
43 | 44 |
44 } // namespace client | 45 } // namespace client |
45 } // namespace blimp | 46 } // namespace blimp |
OLD | NEW |