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

Unified Diff: base/big_endian_unittest.cc

Issue 145873006: ui/base/resource: Roll our own version of ReadBigEndian() function. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 10 months 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/big_endian.cc ('k') | chrome/utility/cloud_print/pwg_encoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/big_endian_unittest.cc
diff --git a/net/base/big_endian_unittest.cc b/base/big_endian_unittest.cc
similarity index 97%
rename from net/base/big_endian_unittest.cc
rename to base/big_endian_unittest.cc
index e758286efe1f04759b0ca22c330ff068c4c15184..75d3ada7925d805c7669a3e697b76d2028cc36aa 100644
--- a/net/base/big_endian_unittest.cc
+++ b/base/big_endian_unittest.cc
@@ -2,11 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/big_endian.h"
+
#include "base/strings/string_piece.h"
-#include "net/base/big_endian.h"
#include "testing/gtest/include/gtest/gtest.h"
-namespace net {
+namespace base {
TEST(BigEndianReaderTest, ReadsValues) {
char data[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0xA, 0xB, 0xC };
@@ -96,5 +97,4 @@ TEST(BigEndianWriterTest, RespectsLength) {
EXPECT_EQ(0, writer.remaining());
}
-} // namespace net
-
+} // namespace base
« no previous file with comments | « base/big_endian.cc ('k') | chrome/utility/cloud_print/pwg_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698