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

Unified Diff: base/mac/scoped_nsexception_enabler.h

Issue 7474010: mac: Components build for base, easy part (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 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 | « base/mac/scoped_nsautorelease_pool.h ('k') | base/mach_ipc_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/mac/scoped_nsexception_enabler.h
diff --git a/base/mac/scoped_nsexception_enabler.h b/base/mac/scoped_nsexception_enabler.h
index a10120b24f9ff20e912561440281897fb0fc94fa..a251fcca301ac7cb0448a32928ea95783710b8ea 100644
--- a/base/mac/scoped_nsexception_enabler.h
+++ b/base/mac/scoped_nsexception_enabler.h
@@ -6,6 +6,7 @@
#define BASE_MAC_SCOPED_NSEXCEPTION_ENABLER_H_
#pragma once
+#include "base/base_api.h"
#include "base/basictypes.h"
namespace base {
@@ -23,7 +24,7 @@ namespace mac {
// top-level event loop, things are cleared in -reportException:. If
// the exception is caught at a lower level, a higher level scoper
// should eventually reset things.
-class ScopedNSExceptionEnabler {
+class BASE_API ScopedNSExceptionEnabler {
public:
ScopedNSExceptionEnabler();
~ScopedNSExceptionEnabler();
@@ -37,8 +38,8 @@ class ScopedNSExceptionEnabler {
// Access the exception setting for the current thread. This is for
// the support code in BrowserCrApplication, other code should use
// the scoper.
-bool GetNSExceptionsAllowed();
-void SetNSExceptionsAllowed(bool allowed);
+BASE_API bool GetNSExceptionsAllowed();
+BASE_API void SetNSExceptionsAllowed(bool allowed);
} // namespace mac
} // namespace base
« no previous file with comments | « base/mac/scoped_nsautorelease_pool.h ('k') | base/mach_ipc_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698