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

Side by Side Diff: chrome/browser/ui/cocoa/obsolete_os.cc

Issue 10837158: mac: Delete more 10.5-only code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rsesek 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/browser/ui/cocoa/obsolete_os.h"
6
7 #include "grit/chromium_strings.h"
8 #include "grit/generated_resources.h"
9 #include "ui/base/l10n/l10n_util.h"
10
11 namespace chrome {
12
13 string16 LocalizedObsoleteOSString() {
14 // TODO(mark): Change kEndOfTheLine to true immediately prior to the last
15 // build on the Chrome 21 branch.
16 const bool kEndOfTheLine = false;
17
18 return l10n_util::GetStringFUTF16(
19 kEndOfTheLine ? IDS_MAC_10_5_LEOPARD_OBSOLETE_NOW :
20 IDS_MAC_10_5_LEOPARD_OBSOLETE_SOON,
21 l10n_util::GetStringUTF16(IDS_PRODUCT_NAME));
22 }
23
24 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698