OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "blimp/net/fake_blimp_message_processor.h" | |
6 | |
7 #include "blimp/common/proto/blimp_message.pb.h" | |
8 | |
9 namespace blimp { | |
10 | |
11 FakeBlimpMessageProcessor::FakeBlimpMessageProcessor() = default; | |
12 | |
13 FakeBlimpMessageProcessor::~FakeBlimpMessageProcessor() = default; | |
14 | |
15 void FakeBlimpMessageProcessor::ProcessMessage( | |
16 std::unique_ptr<BlimpMessage> message, | |
17 const net::CompletionCallback& callback) { | |
18 messages_.push_back(*message); | |
19 } | |
20 | |
21 } // namespace blimp | |
OLD | NEW |