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

Side by Side Diff: net/base/file_stream_unittest.cc

Issue 6341004: More net/ reordering. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Window gyp dependency Created 9 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | net/base/registry_controlled_domain.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/callback.h" 5 #include "base/callback.h"
6 #include "base/file_util.h" 6 #include "base/file_util.h"
7 #include "base/message_loop.h"
7 #include "base/path_service.h" 8 #include "base/path_service.h"
8 #include "base/platform_file.h" 9 #include "base/platform_file.h"
9 #include "net/base/file_stream.h" 10 #include "net/base/file_stream.h"
10 #include "net/base/net_errors.h" 11 #include "net/base/net_errors.h"
11 #include "net/base/test_completion_callback.h" 12 #include "net/base/test_completion_callback.h"
12 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
13 #include "testing/platform_test.h" 14 #include "testing/platform_test.h"
14 15
15 namespace { 16 namespace {
16 17
(...skipping 866 matching lines...) Expand 10 before | Expand all | Expand 10 after
883 write_stream.Close(); 884 write_stream.Close();
884 885
885 // Read in the contents and make sure we get back what we expected. 886 // Read in the contents and make sure we get back what we expected.
886 std::string read_contents; 887 std::string read_contents;
887 EXPECT_TRUE(file_util::ReadFileToString(temp_file_path(), &read_contents)); 888 EXPECT_TRUE(file_util::ReadFileToString(temp_file_path(), &read_contents));
888 889
889 EXPECT_EQ("01230123", read_contents); 890 EXPECT_EQ("01230123", read_contents);
890 } 891 }
891 892
892 } // namespace 893 } // namespace
OLDNEW
« no previous file with comments | « no previous file | net/base/registry_controlled_domain.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698