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

Unified Diff: base/mac/mac_util.mm

Issue 10825302: mac: Remove more 10.5-only code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tweak comments Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/mac/mac_util.h ('k') | base/mac/mac_util_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/mac/mac_util.mm
diff --git a/base/mac/mac_util.mm b/base/mac/mac_util.mm
index f6aeebef05fabeff4f8aa62a277806b856a42619..a0aa72c88728f54e052683c48840638d5e64ba07 100644
--- a/base/mac/mac_util.mm
+++ b/base/mac/mac_util.mm
@@ -475,7 +475,7 @@ bool WasLaunchedAsHiddenLoginItem() {
if (!item.get()) {
// Lion can launch items for the resume feature. So log an error only for
// Snow Leopard or earlier.
- if (IsOSSnowLeopardOrEarlier())
+ if (IsOSSnowLeopard())
DLOG(ERROR) <<
"Process launched at Login but can't access Login Item List.";
@@ -573,18 +573,6 @@ bool IsOSSnowLeopard() {
}
#endif
-#if !defined(BASE_MAC_MAC_UTIL_H_INLINED_GE_10_7)
-bool IsOSSnowLeopardOrEarlier() {
- return MacOSXMinorVersion() <= SNOW_LEOPARD_MINOR_VERSION;
-}
-#endif
-
-#if !defined(BASE_MAC_MAC_UTIL_H_INLINED_GE_10_6)
-bool IsOSSnowLeopardOrLater() {
- return MacOSXMinorVersion() >= SNOW_LEOPARD_MINOR_VERSION;
-}
-#endif
-
#if !defined(BASE_MAC_MAC_UTIL_H_INLINED_GT_10_7)
bool IsOSLion() {
return MacOSXMinorVersion() == LION_MINOR_VERSION;
« no previous file with comments | « base/mac/mac_util.h ('k') | base/mac/mac_util_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698