| Index: chrome/common/mac/cfbundle_blocker.h
|
| ===================================================================
|
| --- chrome/common/mac/cfbundle_blocker.h (revision 105162)
|
| +++ chrome/common/mac/cfbundle_blocker.h (working copy)
|
| @@ -6,6 +6,12 @@
|
| #define CHROME_COMMON_MAC_CFBUNDLE_BLOCKER_H_
|
| #pragma once
|
|
|
| +#if defined(__OBJC__)
|
| +@class NSString;
|
| +#else
|
| +class NSString;
|
| +#endif
|
| +
|
| namespace chrome {
|
| namespace common {
|
| namespace mac {
|
| @@ -25,6 +31,12 @@
|
| // created, but it does block them from loading modules into the process.
|
| void EnableCFBundleBlocker();
|
|
|
| +// Returns true if |bundle_id| and |version| identify a bundle that is allowed
|
| +// to be loaded even when found in a blocked directory.
|
| +//
|
| +// Exposed only for testing. Do not call from outside the implementation.
|
| +bool IsBundleAllowed(NSString* bundle_id, NSString* version);
|
| +
|
| } // namespace mac
|
| } // namespace common
|
| } // namespace chrome
|
|
|