OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #include "dbus/property.h" | 5 #include "dbus/property.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 | 10 |
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
471 | 471 |
472 template <> | 472 template <> |
473 void Property<std::vector<uint8> >::AppendSetValueToWriter( | 473 void Property<std::vector<uint8> >::AppendSetValueToWriter( |
474 MessageWriter* writer) { | 474 MessageWriter* writer) { |
475 MessageWriter variant_writer(NULL); | 475 MessageWriter variant_writer(NULL); |
476 writer->OpenVariant("ay", &variant_writer); | 476 writer->OpenVariant("ay", &variant_writer); |
477 variant_writer.AppendArrayOfBytes(set_value_.data(), set_value_.size()); | 477 variant_writer.AppendArrayOfBytes(set_value_.data(), set_value_.size()); |
478 writer->CloseContainer(&variant_writer); | 478 writer->CloseContainer(&variant_writer); |
479 } | 479 } |
480 | 480 |
| 481 template class Property<uint8>; |
| 482 template class Property<bool>; |
| 483 template class Property<int16>; |
| 484 template class Property<uint16>; |
| 485 template class Property<int32>; |
| 486 template class Property<uint32>; |
| 487 template class Property<int64>; |
| 488 template class Property<uint64>; |
| 489 template class Property<double>; |
| 490 template class Property<std::string>; |
| 491 template class Property<ObjectPath>; |
| 492 template class Property<std::vector<std::string> >; |
| 493 template class Property<std::vector<ObjectPath> >; |
| 494 template class Property<std::vector<uint8> >; |
| 495 |
481 } // namespace dbus | 496 } // namespace dbus |
OLD | NEW |