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

Unified Diff: chrome/browser/ui/cocoa/obsolete_os.h

Issue 10837158: mac: Delete more 10.5-only code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mark 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 | « chrome/browser/resources/help/help.js ('k') | chrome/browser/ui/cocoa/obsolete_os.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/obsolete_os.h
diff --git a/chrome/browser/ui/cocoa/obsolete_os.h b/chrome/browser/ui/cocoa/obsolete_os.h
deleted file mode 100644
index 2cba8aa302d9dad0b626526f7389531db6fe2b13..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/cocoa/obsolete_os.h
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_COCOA_OBSOLETE_OS_H_
-#define CHROME_BROWSER_UI_COCOA_OBSOLETE_OS_H_
-
-#include "base/mac/mac_util.h"
-#include "base/string16.h"
-
-namespace chrome {
-
-// Returns true if the OS will either be unsupported by future versions of the
-// application in the near future, or if this is the last version of the
-// application that supports the OS.
-inline bool IsOSObsoleteOrNearlySo() {
- return base::mac::IsOSLeopardOrEarlier();
-}
-
-// Returns a localized string informing users that their OS will either soon
-// be unsupported by future versions of the application, or that they are
-// already using the last version of the application that supports their OS.
-// Do not use the returned string unless IsOSObsoleteOrNearlySo() returns
-// true.
-string16 LocalizedObsoleteOSString();
-
-} // namespace chrome
-
-#endif // CHROME_BROWSER_UI_COCOA_OBSOLETE_OS_H_
« no previous file with comments | « chrome/browser/resources/help/help.js ('k') | chrome/browser/ui/cocoa/obsolete_os.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698