diff options
author | Daniel Erat <derat@google.com> | 2015-07-07 09:04:41 -0600 |
---|---|---|
committer | Daniel Erat <derat@google.com> | 2015-07-09 08:44:15 -0600 |
commit | 96074fa37c50405bb055408ea7753159eb9c3e50 (patch) | |
tree | 283cc025142d106901e9b3e1a713433fd3b9af4e /base/files | |
parent | 7c272d64bd2d746d9de3cfed342a6308ed18e0be (diff) | |
download | libchrome-96074fa37c50405bb055408ea7753159eb9c3e50.tar.gz |
Add missing virtual destructors.
Update the following classes:
base::FileTracing::Provider
base::internal::PostTaskAndReplyImpl
base::PostTaskAndReplyWorkerPool
base::TraceLog::EnabledStateObserver
Also remove -Wnon-virtual-dtor.
This is avakulenko@chromium.org's
base-334380-file-tracing-provider-virt-dtor.patch from
Chrome OS with a few more classes added. The original commit
was https://chromium-review.googlesource.com/278013.
Bug: 22317122
Change-Id: Ib7e68ed5b92867ad07128ad9279d059a0eb25864
Diffstat (limited to 'base/files')
-rw-r--r-- | base/files/file_tracing.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/base/files/file_tracing.h b/base/files/file_tracing.h index 149bd78a9b..aca1ff7546 100644 --- a/base/files/file_tracing.h +++ b/base/files/file_tracing.h @@ -27,6 +27,8 @@ class BASE_EXPORT FileTracing { public: class Provider { public: + virtual ~Provider() = default; + // Whether the file tracing category is currently enabled. virtual bool FileTracingCategoryIsEnabled() const = 0; |