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

Side by Side Diff: chrome/common/chrome_version_info.h

Issue 6894037: Add more information to about:version and "About Chromium" dialog (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Change the name of GetProfile() to profile() Created 9 years, 7 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 | « chrome/browser/ui/views/about_chrome_view.cc ('k') | chrome/common/chrome_version_info.cc » ('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 CHROME_COMMON_CHROME_VERSION_INFO_H_ 5 #ifndef CHROME_COMMON_CHROME_VERSION_INFO_H_
6 #define CHROME_COMMON_CHROME_VERSION_INFO_H_ 6 #define CHROME_COMMON_CHROME_VERSION_INFO_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 19 matching lines...) Expand all
30 30
31 // E.g. "Chromium" or "Google Chrome". 31 // E.g. "Chromium" or "Google Chrome".
32 std::string Name() const; 32 std::string Name() const;
33 33
34 // Version number, e.g. "6.0.490.1". 34 // Version number, e.g. "6.0.490.1".
35 std::string Version() const; 35 std::string Version() const;
36 36
37 // The SVN revision of this release. E.g. "55800". 37 // The SVN revision of this release. E.g. "55800".
38 std::string LastChange() const; 38 std::string LastChange() const;
39 39
40 // OS type. E.g. "Windows", "Linux", "FreeBSD", ...
41 std::string OSType() const;
42
40 // Whether this is an "official" release of the current Version(): 43 // Whether this is an "official" release of the current Version():
41 // whether knowing Version() is enough to completely determine what 44 // whether knowing Version() is enough to completely determine what
42 // LastChange() is. 45 // LastChange() is.
43 bool IsOfficialBuild() const; 46 bool IsOfficialBuild() const;
44 47
45 private: 48 private:
46 #if defined(OS_WIN) || defined(OS_MACOSX) 49 #if defined(OS_WIN) || defined(OS_MACOSX)
47 scoped_ptr<FileVersionInfo> version_info_; 50 scoped_ptr<FileVersionInfo> version_info_;
48 #endif 51 #endif
49 52
50 DISALLOW_COPY_AND_ASSIGN(VersionInfo); 53 DISALLOW_COPY_AND_ASSIGN(VersionInfo);
51 }; 54 };
52 55
53 } // namespace chrome 56 } // namespace chrome
54 57
55 #endif // CHROME_COMMON_CHROME_VERSION_INFO_H_ 58 #endif // CHROME_COMMON_CHROME_VERSION_INFO_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/about_chrome_view.cc ('k') | chrome/common/chrome_version_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698