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

Side by Side Diff: base/file_version_info_mac.h

Issue 611153004: replace OVERRIDE and FINAL with override and final in base/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CC_ -> BASE_ Created 6 years, 2 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
« no previous file with comments | « base/environment.cc ('k') | base/file_version_info_win.h » ('j') | 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) 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 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/file_version_info.h" 10 #include "base/file_version_info.h"
11 #include "base/mac/scoped_nsobject.h" 11 #include "base/mac/scoped_nsobject.h"
12 12
13 #ifdef __OBJC__ 13 #ifdef __OBJC__
14 @class NSBundle; 14 @class NSBundle;
15 #else 15 #else
16 class NSBundle; 16 class NSBundle;
17 #endif 17 #endif
18 18
19 class FileVersionInfoMac : public FileVersionInfo { 19 class FileVersionInfoMac : public FileVersionInfo {
20 public: 20 public:
21 explicit FileVersionInfoMac(NSBundle *bundle); 21 explicit FileVersionInfoMac(NSBundle *bundle);
22 virtual ~FileVersionInfoMac(); 22 virtual ~FileVersionInfoMac();
23 23
24 // Accessors to the different version properties. 24 // Accessors to the different version properties.
25 // Returns an empty string if the property is not found. 25 // Returns an empty string if the property is not found.
26 virtual base::string16 company_name() OVERRIDE; 26 virtual base::string16 company_name() override;
27 virtual base::string16 company_short_name() OVERRIDE; 27 virtual base::string16 company_short_name() override;
28 virtual base::string16 product_name() OVERRIDE; 28 virtual base::string16 product_name() override;
29 virtual base::string16 product_short_name() OVERRIDE; 29 virtual base::string16 product_short_name() override;
30 virtual base::string16 internal_name() OVERRIDE; 30 virtual base::string16 internal_name() override;
31 virtual base::string16 product_version() OVERRIDE; 31 virtual base::string16 product_version() override;
32 virtual base::string16 private_build() OVERRIDE; 32 virtual base::string16 private_build() override;
33 virtual base::string16 special_build() OVERRIDE; 33 virtual base::string16 special_build() override;
34 virtual base::string16 comments() OVERRIDE; 34 virtual base::string16 comments() override;
35 virtual base::string16 original_filename() OVERRIDE; 35 virtual base::string16 original_filename() override;
36 virtual base::string16 file_description() OVERRIDE; 36 virtual base::string16 file_description() override;
37 virtual base::string16 file_version() OVERRIDE; 37 virtual base::string16 file_version() override;
38 virtual base::string16 legal_copyright() OVERRIDE; 38 virtual base::string16 legal_copyright() override;
39 virtual base::string16 legal_trademarks() OVERRIDE; 39 virtual base::string16 legal_trademarks() override;
40 virtual base::string16 last_change() OVERRIDE; 40 virtual base::string16 last_change() override;
41 virtual bool is_official_build() OVERRIDE; 41 virtual bool is_official_build() override;
42 42
43 private: 43 private:
44 // Returns a base::string16 value for a property name. 44 // Returns a base::string16 value for a property name.
45 // Returns the empty string if the property does not exist. 45 // Returns the empty string if the property does not exist.
46 base::string16 GetString16Value(CFStringRef name); 46 base::string16 GetString16Value(CFStringRef name);
47 47
48 base::scoped_nsobject<NSBundle> bundle_; 48 base::scoped_nsobject<NSBundle> bundle_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(FileVersionInfoMac); 50 DISALLOW_COPY_AND_ASSIGN(FileVersionInfoMac);
51 }; 51 };
52 52
53 #endif // BASE_FILE_VERSION_INFO_MAC_H_ 53 #endif // BASE_FILE_VERSION_INFO_MAC_H_
OLDNEW
« no previous file with comments | « base/environment.cc ('k') | base/file_version_info_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698