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

Side by Side Diff: base/file_version_info.h

Issue 39166: Make file_version_info work even without including windows.h (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_H__ 5 #ifndef BASE_FILE_VERSION_INFO_H__
6 #define BASE_FILE_VERSION_INFO_H__ 6 #define BASE_FILE_VERSION_INFO_H__
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/file_path.h" 11 #include "base/file_path.h"
12 #include "base/scoped_ptr.h" 12 #include "base/scoped_ptr.h"
13 13
14 #ifdef OS_MACOSX 14 #if defined(OS_WIN)
15 struct tagVS_FIXEDFILEINFO;
16 typedef tagVS_FIXEDFILEINFO VS_FIXEDFILEINFO;
17 #elif defined(OS_MACOSX)
15 #ifdef __OBJC__ 18 #ifdef __OBJC__
16 @class NSBundle; 19 @class NSBundle;
17 #else 20 #else
18 class NSBundle; 21 class NSBundle;
19 #endif 22 #endif
20 #endif 23 #endif
21 24
22 // Provides a way to access the version information for a file. 25 // Provides a way to access the version information for a file.
23 // This is the information you access when you select a file in the Windows 26 // This is the information you access when you select a file in the Windows
24 // explorer, right-click select Properties, then click the Version tab. 27 // explorer, right-click select Properties, then click the Version tab.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 NSBundle *bundle_; 88 NSBundle *bundle_;
86 #elif defined(OS_LINUX) 89 #elif defined(OS_LINUX)
87 FileVersionInfo(); 90 FileVersionInfo();
88 #endif 91 #endif
89 92
90 DISALLOW_EVIL_CONSTRUCTORS(FileVersionInfo); 93 DISALLOW_EVIL_CONSTRUCTORS(FileVersionInfo);
91 }; 94 };
92 95
93 #endif // BASE_FILE_VERSION_INFO_H__ 96 #endif // BASE_FILE_VERSION_INFO_H__
94 97
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698