Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Issue 408143012: [DBus] Explicitly instantiate dbusProperty variant (Closed)

Created:
6 years, 5 months ago by tzik
Modified:
6 years, 5 months ago
Reviewers:
keybuk, Nico
CC:
chromium-reviews, Nico, Timur Iskhodzhanov
Project:
chromium
Visibility:
Public.

Description

[DBus] Explicitly instantiate dbusProperty variant dbus::Property<std::vector<uint8> > isn't instantiated in libdbus in non-ChromeOS build + latest clang. That causes instantiation of the template in dbus_unittests, and causes link failure. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285475

Patch Set 1 #

Total comments: 2

Patch Set 2 : use 'extern template' #

Patch Set 3 : drop extra "extern" #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -0 lines) Patch
M dbus/property.h View 1 1 chunk +14 lines, -0 lines 3 comments Download
M dbus/property.cc View 1 2 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
tzik
PTL Let me retry my previous link fix, http://crrev.com/280264, which was reverted due to build ...
6 years, 5 months ago (2014-07-23 04:08:46 UTC) #1
tzik
On 2014/07/23 04:08:46, tzik wrote: > PTL > > Let me retry my previous link ...
6 years, 5 months ago (2014-07-23 04:22:06 UTC) #2
Nico
https://codereview.chromium.org/408143012/diff/1/dbus/property.h File dbus/property.h (right): https://codereview.chromium.org/408143012/diff/1/dbus/property.h#newcode412 dbus/property.h:412: template class CHROME_DBUS_EXPORT Property<uint8>; This doesn't look right to ...
6 years, 5 months ago (2014-07-23 05:07:17 UTC) #3
tzik
https://codereview.chromium.org/408143012/diff/1/dbus/property.h File dbus/property.h (right): https://codereview.chromium.org/408143012/diff/1/dbus/property.h#newcode412 dbus/property.h:412: template class CHROME_DBUS_EXPORT Property<uint8>; On 2014/07/23 05:07:16, Nico (away) ...
6 years, 5 months ago (2014-07-23 05:29:02 UTC) #4
Nico
https://codereview.chromium.org/408143012/diff/40001/dbus/property.h File dbus/property.h (right): https://codereview.chromium.org/408143012/diff/40001/dbus/property.h#newcode411 dbus/property.h:411: template <> void Property<uint8>::AppendSetValueToWriter(MessageWriter* writer); Explicitly instantiating a template ...
6 years, 5 months ago (2014-07-23 15:31:00 UTC) #5
tzik
https://codereview.chromium.org/408143012/diff/40001/dbus/property.h File dbus/property.h (right): https://codereview.chromium.org/408143012/diff/40001/dbus/property.h#newcode411 dbus/property.h:411: template <> void Property<uint8>::AppendSetValueToWriter(MessageWriter* writer); On 2014/07/23 15:31:00, Nico ...
6 years, 5 months ago (2014-07-23 15:39:42 UTC) #6
Nico
lgtm This file has quite a confusing mix of polymorphism and templates… https://codereview.chromium.org/408143012/diff/40001/dbus/property.h File dbus/property.h ...
6 years, 5 months ago (2014-07-23 15:41:26 UTC) #7
tzik
keybuk@, could you double check as a owner?
6 years, 5 months ago (2014-07-24 02:19:54 UTC) #8
keybuk
lgtm
6 years, 5 months ago (2014-07-24 17:39:02 UTC) #9
tzik
The CQ bit was checked by tzik@chromium.org
6 years, 5 months ago (2014-07-25 00:59:41 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/408143012/40001
6 years, 5 months ago (2014-07-25 01:02:40 UTC) #11
commit-bot: I haz the power
6 years, 5 months ago (2014-07-25 04:04:32 UTC) #12
Message was sent while issue was closed.
Change committed as 285475

Powered by Google App Engine
This is Rietveld 408576698