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

Unified Diff: ui/base/l10n/l10n_util_plurals.h

Issue 1140153005: ICU msg format support with more than one arguments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mark's review comments Created 5 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 | « ui/base/l10n/l10n_util.cc ('k') | ui/base/l10n/l10n_util_plurals.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/l10n/l10n_util_plurals.h
diff --git a/ui/base/l10n/l10n_util_plurals.h b/ui/base/l10n/l10n_util_plurals.h
deleted file mode 100644
index efae5d685ab057a3945c7819f3e1e2ec5ecb6578..0000000000000000000000000000000000000000
--- a/ui/base/l10n/l10n_util_plurals.h
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2013 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.
-
-// This file contains utility functions for dealing with pluralization of
-// localized content.
-
-#ifndef UI_BASE_L10N_L10N_UTIL_PLURALS_H_
-#define UI_BASE_L10N_L10N_UTIL_PLURALS_H_
-
-#include <string>
-#include <vector>
-
-#include "base/memory/scoped_ptr.h"
-#include "third_party/icu/source/i18n/unicode/msgfmt.h"
-#include "third_party/icu/source/i18n/unicode/plurrule.h"
-
-namespace l10n_util {
-
-// Returns a PluralRules for the current locale.
-scoped_ptr<icu::PluralRules> BuildPluralRules();
-
-// Formats |number| using MessageFormat |format| and appends the result
-// to |append_to|.
-// |format| has to be generated with ICU's plural message format.
-// See http://userguide.icu-project.org/formatparse/messages
-void FormatNumberInPlural(const icu::MessageFormat& format, int number,
- icu::UnicodeString* append_to, UErrorCode* err);
-
-} // namespace l10n_util
-
-#endif // UI_BASE_L10N_L10N_UTIL_PLURALS_H_
« no previous file with comments | « ui/base/l10n/l10n_util.cc ('k') | ui/base/l10n/l10n_util_plurals.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698