1 // Copyright 2013 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef BASE_I18N_STRING_COMPARE_H_
6 #define BASE_I18N_STRING_COMPARE_H_
8 #include "base/i18n/base_i18n_export.h"
9 #include "base/strings/string_piece.h"
10 #include "third_party/icu/source/i18n/unicode/coll.h"
15 // Compares the two strings using the specified collator.
16 BASE_I18N_EXPORT UCollationResult
17 CompareString16WithCollator(const icu::Collator& collator,
18 const StringPiece16 lhs,
19 const StringPiece16 rhs);
24 #endif // BASE_I18N_STRING_COMPARE_H_