| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_BROWSER_EXTENSIONS_API_SERIAL_SERIAL_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_SERIAL_SERIAL_API_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_SERIAL_SERIAL_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_SERIAL_SERIAL_API_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 scoped_ptr<serial::SetControlSignals::Params> params_; | 240 scoped_ptr<serial::SetControlSignals::Params> params_; |
| 241 }; | 241 }; |
| 242 | 242 |
| 243 } // namespace api | 243 } // namespace api |
| 244 | 244 |
| 245 } // namespace extensions | 245 } // namespace extensions |
| 246 | 246 |
| 247 namespace mojo { | 247 namespace mojo { |
| 248 | 248 |
| 249 template <> | 249 template <> |
| 250 class TypeConverter<device::SerialDeviceInfoPtr, | 250 class TypeConverter<device::serial::DeviceInfoPtr, |
| 251 linked_ptr<extensions::api::serial::DeviceInfo> > { | 251 linked_ptr<extensions::api::serial::DeviceInfo> > { |
| 252 public: | 252 public: |
| 253 static linked_ptr<extensions::api::serial::DeviceInfo> ConvertTo( | 253 static linked_ptr<extensions::api::serial::DeviceInfo> ConvertTo( |
| 254 const device::SerialDeviceInfoPtr& input); | 254 const device::serial::DeviceInfoPtr& input); |
| 255 }; | 255 }; |
| 256 | 256 |
| 257 } // namespace mojo | 257 } // namespace mojo |
| 258 | 258 |
| 259 #endif // CHROME_BROWSER_EXTENSIONS_API_SERIAL_SERIAL_API_H_ | 259 #endif // CHROME_BROWSER_EXTENSIONS_API_SERIAL_SERIAL_API_H_ |
| OLD | NEW |