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

Unified Diff: base/base64.h

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/base.gyp ('k') | base/base64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base64.h
diff --git a/net/base/base64.h b/base/base64.h
similarity index 83%
rename from net/base/base64.h
rename to base/base64.h
index b2e532a6dca02474ee57378ebadc63cae51952ea..d45a8a3d278f8af67aed8dd6c5817c0a127325fa 100644
--- a/net/base/base64.h
+++ b/base/base64.h
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef NET_BASE_BASE64_H__
-#define NET_BASE_BASE64_H__
+#ifndef BASE_BASE64_H__
+#define BASE_BASE64_H__
#include <string>
-namespace net {
+namespace base {
// Encodes the input string in base64. Returns true if successful and false
// otherwise. The output string is only modified if successful.
@@ -17,6 +17,6 @@ bool Base64Encode(const std::string& input, std::string* output);
// otherwise. The output string is only modified if successful.
bool Base64Decode(const std::string& input, std::string* output);
-} // namespace net
+} // namespace base
-#endif // NET_BASE_BASE64_H__
+#endif // BASE_BASE64_H__
« no previous file with comments | « base/base.gyp ('k') | base/base64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698