| 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 | 7 |
| 8 #include "base/base_export.h" | 8 #include "base/base_export.h" |
| 9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 | 10 |
| 11 #if defined(__OBJC__) | 11 #if defined(__OBJC__) |
| 12 #import <Foundation/Foundation.h> | 12 #import <Foundation/Foundation.h> |
| 13 #else // __OBJC__ | 13 #else // __OBJC__ |
| 14 class NSBundle; | 14 class NSBundle; |
| 15 class NSString; | |
| 16 #endif // __OBJC__ | 15 #endif // __OBJC__ |
| 17 | 16 |
| 18 namespace base { | 17 namespace base { |
| 19 | 18 |
| 20 class FilePath; | 19 class FilePath; |
| 21 | 20 |
| 22 namespace mac { | 21 namespace mac { |
| 23 | 22 |
| 24 // This file provides several functions to explicitly request the various | 23 // This file provides several functions to explicitly request the various |
| 25 // component bundles of Chrome. Please use these methods rather than calling | 24 // component bundles of Chrome. Please use these methods rather than calling |
| (...skipping 32 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 |