Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2250)

Unified Diff: base/base64.cc

Issue 399068: Move base64 from 'net/base' into 'base'. (Closed)
Patch Set: rebase Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/base64.h ('k') | base/base64_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base64.cc
diff --git a/net/base/base64.cc b/base/base64.cc
similarity index 94%
rename from net/base/base64.cc
rename to base/base64.cc
index ee5605ea9418a6e1b1ad7337376659c5733283ec..56a577dbcf19b2dc6733a6657b8c77187ed00492 100644
--- a/net/base/base64.cc
+++ b/base/base64.cc
@@ -2,11 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "net/base/base64.h"
+#include "base/base64.h"
#include "third_party/modp_b64/modp_b64.h"
-namespace net {
+namespace base {
bool Base64Encode(const std::string& input, std::string* output) {
std::string temp;
@@ -38,4 +38,4 @@ bool Base64Decode(const std::string& input, std::string* output) {
return true;
}
-} // namespace net
+} // namespace base
« no previous file with comments | « base/base64.h ('k') | base/base64_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698