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

Unified Diff: base/base64_unittest.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.cc ('k') | chrome/browser/chrome_plugin_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base64_unittest.cc
diff --git a/net/base/base64_unittest.cc b/base/base64_unittest.cc
similarity index 83%
rename from net/base/base64_unittest.cc
rename to base/base64_unittest.cc
index e2b55b2e9bab7577df34998c83edf9cf65c6065a..1d11b1eb10850b3168b6dcbcbbc04f1c58c7f37b 100644
--- a/net/base/base64_unittest.cc
+++ b/base/base64_unittest.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 "net/base/base64.h"
+#include "base/base64.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
@@ -19,11 +19,11 @@ TEST(Base64Test, Basic) {
std::string encoded, decoded;
bool ok;
- ok = net::Base64Encode(kText, &encoded);
+ ok = base::Base64Encode(kText, &encoded);
EXPECT_TRUE(ok);
EXPECT_EQ(kBase64Text, encoded);
- ok = net::Base64Decode(encoded, &decoded);
+ ok = base::Base64Decode(encoded, &decoded);
EXPECT_TRUE(ok);
EXPECT_EQ(kText, decoded);
}
« no previous file with comments | « base/base64.cc ('k') | chrome/browser/chrome_plugin_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698