| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_FILE_VERSION_INFO_MAC_H_ | 5 #ifndef BASE_FILE_VERSION_INFO_MAC_H_ |
| 6 #define BASE_FILE_VERSION_INFO_MAC_H_ | 6 #define BASE_FILE_VERSION_INFO_MAC_H_ |
| 7 #pragma once | |
| 8 | 7 |
| 9 #include <string> | 8 #include <string> |
| 10 | 9 |
| 11 #include "base/file_version_info.h" | 10 #include "base/file_version_info.h" |
| 12 #include "base/memory/scoped_nsobject.h" | 11 #include "base/memory/scoped_nsobject.h" |
| 13 | 12 |
| 14 #ifdef __OBJC__ | 13 #ifdef __OBJC__ |
| 15 @class NSBundle; | 14 @class NSBundle; |
| 16 #else | 15 #else |
| 17 class NSBundle; | 16 class NSBundle; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 45 // Returns a string16 value for a property name. | 44 // Returns a string16 value for a property name. |
| 46 // Returns the empty string if the property does not exist. | 45 // Returns the empty string if the property does not exist. |
| 47 string16 GetString16Value(CFStringRef name); | 46 string16 GetString16Value(CFStringRef name); |
| 48 | 47 |
| 49 scoped_nsobject<NSBundle> bundle_; | 48 scoped_nsobject<NSBundle> bundle_; |
| 50 | 49 |
| 51 DISALLOW_COPY_AND_ASSIGN(FileVersionInfoMac); | 50 DISALLOW_COPY_AND_ASSIGN(FileVersionInfoMac); |
| 52 }; | 51 }; |
| 53 | 52 |
| 54 #endif // BASE_FILE_VERSION_INFO_MAC_H_ | 53 #endif // BASE_FILE_VERSION_INFO_MAC_H_ |
| OLD | NEW |