blob: 11927b3fb61872b2a7357c86209eeba8eeb4bf51 [file] [log] [blame]
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromeos/services/secure_channel/fake_wire_message.h"
#include <memory>
#include <string>
#include "base/macros.h"
#include "chromeos/services/secure_channel/wire_message.h"
namespace chromeos {
namespace secure_channel {
FakeWireMessage::FakeWireMessage(const std::string& payload,
const std::string& feature)
: WireMessage(payload, feature) {}
std::string FakeWireMessage::Serialize() const {
return feature() + "," + payload();
}
} // namespace secure_channel
} // namespace chromeos