Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 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 #ifndef CHROME_UTILITY_MEDIA_ROUTER_DIAL_DEVICE_DESCRIPTION_PARSER_IMPL_H_ | |
| 6 #define CHROME_UTILITY_MEDIA_ROUTER_DIAL_DEVICE_DESCRIPTION_PARSER_IMPL_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "chrome/common/media_router/dial_device_description_parser.mojom.h" | |
| 10 | |
| 11 namespace media_router { | |
| 12 | |
| 13 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.
| |
| 14 : public chrome::mojom::DialDeviceDescriptionParser { | |
| 15 public: | |
| 16 DialDeviceDescriptionParserImpl(); | |
| 17 ~DialDeviceDescriptionParserImpl() override; | |
| 18 | |
| 19 static void Create(chrome::mojom::DialDeviceDescriptionParserRequest request); | |
| 20 | |
| 21 private: | |
| 22 // extensions::mojom::DialDeviceDescriptionParser: | |
| 23 void ParseDialDeviceDescription( | |
| 24 const std::string& device_description_xml_data, | |
| 25 const ParseDialDeviceDescriptionCallback& callback) override; | |
| 26 | |
| 27 DISALLOW_COPY_AND_ASSIGN(DialDeviceDescriptionParserImpl); | |
| 28 }; | |
| 29 | |
| 30 } // namespace media_router | |
| 31 | |
| 32 #endif // CHROME_UTILITY_MEDIA_ROUTER_DIAL_DEVICE_DESCRIPTION_PARSER_IMPL_H_ | |
| OLD | NEW |