Don't preload rarely seen large images
[chromium-blink-merge.git] / components / autofill / core / common / autofill_l10n_util.h
blob099eb3afb499ce17a65c986171b9ad4b85b42b1a
1 // Copyright 2015 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.
5 #include "base/memory/scoped_ptr.h"
6 #include "base/strings/string16.h"
7 #include "third_party/icu/source/i18n/unicode/coll.h"
9 namespace autofill {
10 namespace l10n {
12 // Assists with locale-aware case insensitive string comparisons.
13 class CaseInsensitiveCompare {
14 public:
15 CaseInsensitiveCompare();
16 ~CaseInsensitiveCompare();
18 bool StringsEqual(const base::string16& lhs, const base::string16& rhs) const;
20 private:
21 scoped_ptr<icu::Collator> collator_;
23 DISALLOW_COPY_AND_ASSIGN(CaseInsensitiveCompare);
26 } // namespace l10n
27 } // namespace autofill