| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "chrome/browser/ui/cocoa/obsolete_os.h" | 5 #include "chrome/browser/ui/cocoa/obsolete_os.h" |
| 6 | 6 |
| 7 #include "grit/chromium_strings.h" | 7 #include "grit/chromium_strings.h" |
| 8 #include "grit/generated_resources.h" | 8 #include "grit/generated_resources.h" |
| 9 #include "ui/base/l10n/l10n_util.h" | 9 #include "ui/base/l10n/l10n_util.h" |
| 10 | 10 |
| 11 namespace browser { | 11 namespace chrome { |
| 12 | 12 |
| 13 string16 LocalizedObsoleteOSString() { | 13 string16 LocalizedObsoleteOSString() { |
| 14 // TODO(mark): Change kEndOfTheLine to true immediately prior to the last | 14 // TODO(mark): Change kEndOfTheLine to true immediately prior to the last |
| 15 // build on the Chrome 21 branch. | 15 // build on the Chrome 21 branch. |
| 16 const bool kEndOfTheLine = false; | 16 const bool kEndOfTheLine = false; |
| 17 | 17 |
| 18 return l10n_util::GetStringFUTF16( | 18 return l10n_util::GetStringFUTF16( |
| 19 kEndOfTheLine ? IDS_MAC_10_5_LEOPARD_OBSOLETE_NOW : | 19 kEndOfTheLine ? IDS_MAC_10_5_LEOPARD_OBSOLETE_NOW : |
| 20 IDS_MAC_10_5_LEOPARD_OBSOLETE_SOON, | 20 IDS_MAC_10_5_LEOPARD_OBSOLETE_SOON, |
| 21 l10n_util::GetStringUTF16(IDS_PRODUCT_NAME)); | 21 l10n_util::GetStringUTF16(IDS_PRODUCT_NAME)); |
| 22 } | 22 } |
| 23 | 23 |
| 24 } // namespace browser | 24 } // namespace chrome |
| OLD | NEW |