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

Unified Diff: src/base/once.h

Issue 2399323002: Reland of land "Turn libbase into a component" (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/base/logging.h ('k') | src/base/platform/condition-variable.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/base/once.h
diff --git a/src/base/once.h b/src/base/once.h
index 790a8866e09bf682eba6eff4f2016cafcca8469c..8008812d75814e60e1687ab512dff687a1f68106 100644
--- a/src/base/once.h
+++ b/src/base/once.h
@@ -55,6 +55,7 @@
#include <stddef.h>
#include "src/base/atomicops.h"
+#include "src/base/base-export.h"
namespace v8 {
namespace base {
@@ -79,7 +80,8 @@
typedef void (*type)(T);
};
-void CallOnceImpl(OnceType* once, PointerArgFunction init_func, void* arg);
+V8_BASE_EXPORT void CallOnceImpl(OnceType* once, PointerArgFunction init_func,
+ void* arg);
inline void CallOnce(OnceType* once, NoArgFunction init_func) {
if (Acquire_Load(once) != ONCE_STATE_DONE) {
« no previous file with comments | « src/base/logging.h ('k') | src/base/platform/condition-variable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698