| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/net/null_blimp_message_processor.h" | 5 #include "blimp/net/null_blimp_message_processor.h" |
| 6 | 6 |
| 7 #include "blimp/net/common.h" |
| 8 |
| 7 namespace blimp { | 9 namespace blimp { |
| 8 | 10 |
| 9 NullBlimpMessageProcessor::~NullBlimpMessageProcessor() {} | 11 NullBlimpMessageProcessor::~NullBlimpMessageProcessor() {} |
| 10 | 12 |
| 11 void NullBlimpMessageProcessor::ProcessMessage( | 13 void NullBlimpMessageProcessor::ProcessMessage( |
| 12 scoped_ptr<BlimpMessage> message, | 14 scoped_ptr<BlimpMessage> message, |
| 13 const net::CompletionCallback& callback) { | 15 const net::CompletionCallback& callback) { |
| 16 DVLOG(2) << "Dropped message: " << *message; |
| 14 if (!callback.is_null()) | 17 if (!callback.is_null()) |
| 15 callback.Run(net::OK); | 18 callback.Run(net::OK); |
| 16 } | 19 } |
| 17 | 20 |
| 18 } // namespace blimp | 21 } // namespace blimp |
| OLD | NEW |