| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_UTILITY_MEDIA_ROUTER_DIAL_DEVICE_DESCRIPTION_PARSER_IMPL_H_ | 5 #ifndef CHROME_UTILITY_MEDIA_ROUTER_DIAL_DEVICE_DESCRIPTION_PARSER_IMPL_H_ |
| 6 #define CHROME_UTILITY_MEDIA_ROUTER_DIAL_DEVICE_DESCRIPTION_PARSER_IMPL_H_ | 6 #define CHROME_UTILITY_MEDIA_ROUTER_DIAL_DEVICE_DESCRIPTION_PARSER_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "chrome/common/media_router/dial_device_description_parser.mojom.h" | 9 #include "chrome/common/media_router/mojo/dial_device_description_parser.mojom.h
" |
| 10 | 10 |
| 11 namespace media_router { | 11 namespace media_router { |
| 12 | 12 |
| 13 // Implementation of Mojo DialDeviceDescriptionParser. It accepts device | 13 // Implementation of Mojo DialDeviceDescriptionParser. It accepts device |
| 14 // description parsing request from browser process, and handles it in utility | 14 // description parsing request from browser process, and handles it in utility |
| 15 // process. Class must be created and destroyed on utility thread. | 15 // process. Class must be created and destroyed on utility thread. |
| 16 class DialDeviceDescriptionParserImpl | 16 class DialDeviceDescriptionParserImpl |
| 17 : public chrome::mojom::DialDeviceDescriptionParser { | 17 : public chrome::mojom::DialDeviceDescriptionParser { |
| 18 public: | 18 public: |
| 19 DialDeviceDescriptionParserImpl(); | 19 DialDeviceDescriptionParserImpl(); |
| (...skipping 15 matching lines...) Expand all Loading... |
| 35 chrome::mojom::DialDeviceDescriptionPtr Parse(const std::string& xml); | 35 chrome::mojom::DialDeviceDescriptionPtr Parse(const std::string& xml); |
| 36 | 36 |
| 37 base::ThreadChecker thread_checker_; | 37 base::ThreadChecker thread_checker_; |
| 38 | 38 |
| 39 DISALLOW_COPY_AND_ASSIGN(DialDeviceDescriptionParserImpl); | 39 DISALLOW_COPY_AND_ASSIGN(DialDeviceDescriptionParserImpl); |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 } // namespace media_router | 42 } // namespace media_router |
| 43 | 43 |
| 44 #endif // CHROME_UTILITY_MEDIA_ROUTER_DIAL_DEVICE_DESCRIPTION_PARSER_IMPL_H_ | 44 #endif // CHROME_UTILITY_MEDIA_ROUTER_DIAL_DEVICE_DESCRIPTION_PARSER_IMPL_H_ |
| OLD | NEW |