| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef BASE_MAC_BUNDLE_LOCATIONS_H_ | 5 #ifndef BASE_MAC_BUNDLE_LOCATIONS_H_ |
| 6 #define BASE_MAC_BUNDLE_LOCATIONS_H_ | 6 #define BASE_MAC_BUNDLE_LOCATIONS_H_ |
| 7 #pragma once | |
| 8 | 7 |
| 9 #include "base/base_export.h" | 8 #include "base/base_export.h" |
| 10 #include "base/file_path.h" | 9 #include "base/file_path.h" |
| 11 | 10 |
| 12 #if defined(__OBJC__) | 11 #if defined(__OBJC__) |
| 13 #import <Foundation/Foundation.h> | 12 #import <Foundation/Foundation.h> |
| 14 #else // __OBJC__ | 13 #else // __OBJC__ |
| 15 class NSBundle; | 14 class NSBundle; |
| 16 class NSString; | 15 class NSString; |
| 17 #endif // __OBJC__ | 16 #endif // __OBJC__ |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 BASE_EXPORT void SetOverrideFrameworkBundle(NSBundle* bundle); | 57 BASE_EXPORT void SetOverrideFrameworkBundle(NSBundle* bundle); |
| 59 | 58 |
| 60 // Same as above but accepting a FilePath argument. | 59 // Same as above but accepting a FilePath argument. |
| 61 BASE_EXPORT void SetOverrideOuterBundlePath(const FilePath& file_path); | 60 BASE_EXPORT void SetOverrideOuterBundlePath(const FilePath& file_path); |
| 62 BASE_EXPORT void SetOverrideFrameworkBundlePath(const FilePath& file_path); | 61 BASE_EXPORT void SetOverrideFrameworkBundlePath(const FilePath& file_path); |
| 63 | 62 |
| 64 } // namespace mac | 63 } // namespace mac |
| 65 } // namespace base | 64 } // namespace base |
| 66 | 65 |
| 67 #endif // BASE_MAC_BUNDLE_LOCATIONS_H_ | 66 #endif // BASE_MAC_BUNDLE_LOCATIONS_H_ |
| OLD | NEW |