[Drive] Handle error cases earlier in FakeDriveService
[chromium-blink-merge.git] / base / i18n / case_conversion.h
blob5d538ccf1d3e24047ee6a8da617fdde47c7b2676
1 // Copyright (c) 2011 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 #ifndef BASE_I18N_CASE_CONVERSION_H_
6 #define BASE_I18N_CASE_CONVERSION_H_
8 #include "base/i18n/base_i18n_export.h"
9 #include "base/strings/string16.h"
10 #include "base/strings/string_piece.h"
12 namespace base {
13 namespace i18n {
15 // Returns the lower case equivalent of string. Uses ICU's default locale.
16 BASE_I18N_EXPORT string16 ToLower(const StringPiece16& string);
18 // Returns the upper case equivalent of string. Uses ICU's default locale.
19 BASE_I18N_EXPORT string16 ToUpper(const StringPiece16& string);
21 } // namespace i18n
22 } // namespace base
24 #endif // BASE_I18N_CASE_CONVERSION_H_