| Index: net/base/escape_icu.cc
|
| diff --git a/net/base/escape_icu.cc b/net/base/escape_icu.cc
|
| index bae93074cb260b8df68613f800a22a4b5d38f0c9..2962fbc99f4f07aaed8a734aaf9372562e0a4905 100644
|
| --- a/net/base/escape_icu.cc
|
| +++ b/net/base/escape_icu.cc
|
| @@ -2,8 +2,6 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include <algorithm>
|
| -
|
| #include "net/base/escape.h"
|
|
|
| #include "base/i18n/icu_string_conversions.h"
|
| @@ -11,8 +9,12 @@
|
|
|
| // This file exists to avoid having escape.cc depend on ICU.
|
|
|
| -bool EscapeQueryParamValue(const string16& text, const char* codepage,
|
| - bool use_plus, string16* escaped) {
|
| +namespace net {
|
| +
|
| +bool EscapeQueryParamValue(const string16& text,
|
| + const char* codepage,
|
| + bool use_plus,
|
| + string16* escaped) {
|
| // TODO(brettw) bug 1201094: this function should be removed, this "SKIP"
|
| // behavior is wrong when the character can't be encoded properly.
|
| std::string encoded;
|
| @@ -23,3 +25,5 @@ bool EscapeQueryParamValue(const string16& text, const char* codepage,
|
| escaped->assign(UTF8ToUTF16(EscapeQueryParamValue(encoded, use_plus)));
|
| return true;
|
| }
|
| +
|
| +} // namespace net
|
|
|