Commit f4db209b authored by Bruce Dawson's avatar Bruce Dawson Committed by Commit Bot

Add missing export to Perfetto glue code

For Windows component builds it is necessary to explicitly share nested
classes if those need to be visible outside of the DLL. This change adds
such an export in order to get Chromium Windows builds with Perfetto
enabled to build.

Change-Id: Ia03383a641425e1eb690bb1f0a539473c83f9a32
Reviewed-on: https://chromium-review.googlesource.com/1063870
Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
Commit-Queue: Primiano Tucci <primiano@chromium.org>
Reviewed-by: default avatarPrimiano Tucci <primiano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#559501}
parent 10de93a1
...@@ -19,7 +19,8 @@ namespace tracing { ...@@ -19,7 +19,8 @@ namespace tracing {
class COMPONENT_EXPORT(TRACING_CPP) MojoSharedMemory class COMPONENT_EXPORT(TRACING_CPP) MojoSharedMemory
: public perfetto::SharedMemory { : public perfetto::SharedMemory {
public: public:
class Factory : public perfetto::SharedMemory::Factory { class COMPONENT_EXPORT(TRACING_CPP) Factory
: public perfetto::SharedMemory::Factory {
public: public:
std::unique_ptr<perfetto::SharedMemory> CreateSharedMemory( std::unique_ptr<perfetto::SharedMemory> CreateSharedMemory(
size_t size) override; size_t size) override;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment