blob: e301461d1656cd81648dc8f9fb9be9a4f28e427f [file] [log] [blame]
Sorin Jianu47a4dd8c2018-10-19 16:34:541// Copyright 2018 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 "components/update_client/protocol_handler.h"
6#include "components/update_client/protocol_parser_xml.h"
7#include "components/update_client/protocol_serializer_xml.h"
8
9namespace update_client {
10
11std::unique_ptr<ProtocolParser> ProtocolHandlerFactoryXml::CreateParser()
12 const {
13 return std::make_unique<ProtocolParserXml>();
14}
15
16std::unique_ptr<ProtocolSerializer>
17ProtocolHandlerFactoryXml::CreateSerializer() const {
18 return std::make_unique<ProtocolSerializerXml>();
19}
20
21} // namespace update_client