| Index: base/base32.cc
|
| diff --git a/components/base32/base32.cc b/base/base32.cc
|
| similarity index 93%
|
| rename from components/base32/base32.cc
|
| rename to base/base32.cc
|
| index c6490fb2364f4915724e233116266ff941415eab..3ca94f2d38061874c6cad3621e26459ea67350a1 100644
|
| --- a/components/base32/base32.cc
|
| +++ b/base/base32.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "components/base32/base32.h"
|
| +#include "base/base32.h"
|
|
|
| #include <stddef.h>
|
| #include <algorithm>
|
| @@ -10,13 +10,13 @@
|
|
|
| #include "base/logging.h"
|
|
|
| -namespace base32 {
|
| +namespace base {
|
|
|
| namespace {
|
| constexpr char kEncoding[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";
|
| } // namespace
|
|
|
| -std::string Base32Encode(base::StringPiece input, Base32EncodePolicy policy) {
|
| +std::string Base32Encode(StringPiece input, Base32EncodePolicy policy) {
|
| if (input.empty())
|
| return std::string();
|
|
|
| @@ -72,4 +72,4 @@ std::string Base32Encode(base::StringPiece input, Base32EncodePolicy policy) {
|
| return output;
|
| }
|
|
|
| -} // namespace base32
|
| +} // namespace base
|
|
|