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

Side by Side Diff: net/disk_cache/mapped_file_unittest.cc

Issue 14820034: Cleanup: Remove unneeded base/file_util.h includes in chrome_frame, courgette, ipc, media, and net. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: fix build Created 7 years, 7 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 | « net/disk_cache/disk_cache_test_util.cc ('k') | net/disk_cache/storage_block_unittest.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/basictypes.h" 5 #include "base/basictypes.h"
6 #include "base/file_util.h" 6 #include "base/files/file_path.h"
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "net/disk_cache/disk_cache_test_base.h" 8 #include "net/disk_cache/disk_cache_test_base.h"
9 #include "net/disk_cache/disk_cache_test_util.h" 9 #include "net/disk_cache/disk_cache_test_util.h"
10 #include "net/disk_cache/mapped_file.h" 10 #include "net/disk_cache/mapped_file.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 12
13 namespace { 13 namespace {
14 14
15 // Implementation of FileIOCallback for the tests. 15 // Implementation of FileIOCallback for the tests.
16 class FileCallbackTest: public disk_cache::FileIOCallback { 16 class FileCallbackTest: public disk_cache::FileIOCallback {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 &completed)); 82 &completed));
83 if (!completed) 83 if (!completed)
84 expected++; 84 expected++;
85 85
86 helper.WaitUntilCacheIoFinished(expected); 86 helper.WaitUntilCacheIoFinished(expected);
87 87
88 EXPECT_EQ(expected, helper.callbacks_called()); 88 EXPECT_EQ(expected, helper.callbacks_called());
89 EXPECT_FALSE(helper.callback_reused_error()); 89 EXPECT_FALSE(helper.callback_reused_error());
90 EXPECT_STREQ(buffer1, buffer2); 90 EXPECT_STREQ(buffer1, buffer2);
91 } 91 }
OLDNEW
« no previous file with comments | « net/disk_cache/disk_cache_test_util.cc ('k') | net/disk_cache/storage_block_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698