Chromium Code Reviews| Index: chrome/utility/media_router/dial_device_description_parser_impl.h |
| diff --git a/chrome/utility/media_router/dial_device_description_parser_impl.h b/chrome/utility/media_router/dial_device_description_parser_impl.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d63f21c1d35409e6a0f77aa0506018c35724c1a7 |
| --- /dev/null |
| +++ b/chrome/utility/media_router/dial_device_description_parser_impl.h |
| @@ -0,0 +1,32 @@ |
| +// Copyright 2017 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. |
| + |
| +#ifndef CHROME_UTILITY_MEDIA_ROUTER_DIAL_DEVICE_DESCRIPTION_PARSER_IMPL_H_ |
| +#define CHROME_UTILITY_MEDIA_ROUTER_DIAL_DEVICE_DESCRIPTION_PARSER_IMPL_H_ |
| + |
| +#include "base/macros.h" |
| +#include "chrome/common/media_router/dial_device_description_parser.mojom.h" |
| + |
| +namespace media_router { |
| + |
| +class DialDeviceDescriptionParserImpl |
|
mark a. foltz
2017/03/18 18:56:57
Please document the thread safety of this class.
zhaobin
2017/03/20 21:25:46
Done.
|
| + : public chrome::mojom::DialDeviceDescriptionParser { |
| + public: |
| + DialDeviceDescriptionParserImpl(); |
| + ~DialDeviceDescriptionParserImpl() override; |
| + |
| + static void Create(chrome::mojom::DialDeviceDescriptionParserRequest request); |
| + |
| + private: |
| + // extensions::mojom::DialDeviceDescriptionParser: |
| + void ParseDialDeviceDescription( |
| + const std::string& device_description_xml_data, |
| + const ParseDialDeviceDescriptionCallback& callback) override; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(DialDeviceDescriptionParserImpl); |
| +}; |
| + |
| +} // namespace media_router |
| + |
| +#endif // CHROME_UTILITY_MEDIA_ROUTER_DIAL_DEVICE_DESCRIPTION_PARSER_IMPL_H_ |