OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "blimp/net/null_blimp_message_processor.h" | |
6 | |
7 #include "blimp/common/logging.h" | |
8 #include "blimp/net/common.h" | |
9 | |
10 namespace blimp { | |
11 | |
12 NullBlimpMessageProcessor::~NullBlimpMessageProcessor() {} | |
13 | |
14 void NullBlimpMessageProcessor::ProcessMessage( | |
15 std::unique_ptr<BlimpMessage> message, | |
16 const net::CompletionCallback& callback) { | |
17 DVLOG(2) << "Dropped message: " << *message; | |
18 if (!callback.is_null()) | |
19 callback.Run(net::OK); | |
20 } | |
21 | |
22 } // namespace blimp | |
OLD | NEW |