|
Improve and unify Mac OS X run-time version checks.
Don't use base::SysInfo::OperatingSystemVersionNumbers, because it calls
Gestalt, which has a few bad properties. Introduce new functions that perform
specific version checks.
BUG= 85972
TEST=base_unittests MacUtilTest.IsOSEllipsis
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=89028
Total comments: 5
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+288 lines, -175 lines) |
Patch |
|
M |
base/mac/mac_util.h
|
View
|
1
2
3
|
2 chunks |
+49 lines, -0 lines |
0 comments
|
Download
|
|
M |
base/mac/mac_util.mm
|
View
|
1
2
3
|
2 chunks |
+126 lines, -0 lines |
0 comments
|
Download
|
|
M |
base/mac/mac_util_unittest.mm
|
View
|
|
2 chunks |
+43 lines, -0 lines |
0 comments
|
Download
|
|
M |
base/process_util_mac.mm
|
View
|
1
2
3
|
7 chunks |
+18 lines, -35 lines |
0 comments
|
Download
|
|
M |
base/sys_info.h
|
View
|
1
2
3
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/bug_report_util.cc
|
View
|
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/process_info_snapshot_mac.cc
|
View
|
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/cocoa/objc_zombie.mm
|
View
|
|
3 chunks |
+6 lines, -10 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/cocoa/wrench_menu/menu_tracked_button.mm
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -9 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/backing_store_mac.mm
|
View
|
1
2
3
|
3 chunks |
+3 lines, -16 lines |
0 comments
|
Download
|
|
M |
content/common/sandbox_mac.mm
|
View
|
|
3 chunks |
+5 lines, -18 lines |
0 comments
|
Download
|
|
M |
content/renderer/renderer_main.cc
|
View
|
1
2
3
|
3 chunks |
+5 lines, -12 lines |
0 comments
|
Download
|
|
M |
content/renderer/webplugin_delegate_proxy.cc
|
View
|
|
4 chunks |
+5 lines, -9 lines |
0 comments
|
Download
|
|
M |
media/audio/mac/audio_manager_mac.cc
|
View
|
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
printing/pdf_metafile_cg_mac.cc
|
View
|
1
2
3
|
3 chunks |
+2 lines, -14 lines |
0 comments
|
Download
|
|
M |
third_party/apple_apsl/CFBase.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/apple_apsl/README.chromium
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/base/resource/resource_bundle_mac.mm
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -8 lines |
0 comments
|
Download
|
|
M |
webkit/plugins/npapi/plugin_host.cc
|
View
|
1
2
3
|
3 chunks |
+3 lines, -8 lines |
0 comments
|
Download
|
|
M |
webkit/plugins/npapi/webplugin_delegate_impl.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
webkit/plugins/npapi/webplugin_delegate_impl_mac.mm
|
View
|
1
2
3
|
3 chunks |
+3 lines, -15 lines |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|