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

Unified Diff: components/crash/core/common/objc_zombie.h

Issue 2148803003: Componentize zombies to silence ObjC runtime errors in component builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tighten visibility, explicitly use header, shorten IMPLEMENTATION macro Created 4 years, 5 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 | « components/crash/core/common/crash_export.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/crash/core/common/objc_zombie.h
diff --git a/components/crash/core/common/objc_zombie.h b/components/crash/core/common/objc_zombie.h
index c023f1c30e14474801dd58f299eaf9c1d2f2ac85..f1aa8e3f5d7d7945d85b6f35a911e1d451b40576 100644
--- a/components/crash/core/common/objc_zombie.h
+++ b/components/crash/core/common/objc_zombie.h
@@ -8,6 +8,7 @@
#include <stddef.h>
#include "build/build_config.h"
+#include "components/crash/core/common/crash_export.h"
// You should think twice every single time you use anything from this
// namespace.
@@ -26,10 +27,10 @@ namespace ObjcEvilDoers {
// |zombieCount| controls how many zombies to store before freeing the
// oldest. Set to 0 to free objects immediately after making them
// zombies.
-bool ZombieEnable(bool zombieAllObjects, size_t zombieCount);
+bool CRASH_EXPORT ZombieEnable(bool zombieAllObjects, size_t zombieCount);
// Disable zombies.
-void ZombieDisable();
+void CRASH_EXPORT ZombieDisable();
} // namespace ObjcEvilDoers
« no previous file with comments | « components/crash/core/common/crash_export.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698