summaryrefslogtreecommitdiffstats
path: root/base/synchronization/cancellation_flag.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/synchronization/cancellation_flag.h')
-rw-r--r--base/synchronization/cancellation_flag.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/synchronization/cancellation_flag.h b/base/synchronization/cancellation_flag.h
index 29ecd89..5738929 100644
--- a/base/synchronization/cancellation_flag.h
+++ b/base/synchronization/cancellation_flag.h
@@ -6,6 +6,7 @@
#define BASE_SYNCHRONIZATION_CANCELLATION_FLAG_H_
#pragma once
+#include "base/base_api.h"
#include "base/atomicops.h"
#include "base/threading/platform_thread.h"
@@ -16,7 +17,7 @@ namespace base {
// is thread-safe.
//
// This class IS NOT intended for synchronization between threads.
-class CancellationFlag {
+class BASE_API CancellationFlag {
public:
CancellationFlag() : flag_(false) {
#if !defined(NDEBUG)