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

Side by Side Diff: content/browser/fileapi/dragged_file_util_unittest.cc

Issue 1853033003: Fix IWYU violators that don't include scoped_ptr.h in Windows build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <stddef.h> 5 #include <stddef.h>
6 6
7 #include <map> 7 #include <map>
8 #include <queue> 8 #include <queue>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/files/file_enumerator.h" 13 #include "base/files/file_enumerator.h"
14 #include "base/files/file_util.h" 14 #include "base/files/file_util.h"
15 #include "base/files/scoped_temp_dir.h" 15 #include "base/files/scoped_temp_dir.h"
16 #include "base/logging.h" 16 #include "base/logging.h"
17 #include "base/macros.h" 17 #include "base/macros.h"
18 #include "base/memory/scoped_ptr.h"
18 #include "base/message_loop/message_loop.h" 19 #include "base/message_loop/message_loop.h"
19 #include "base/time/time.h" 20 #include "base/time/time.h"
20 #include "build/build_config.h" 21 #include "build/build_config.h"
21 #include "content/public/test/async_file_test_helper.h" 22 #include "content/public/test/async_file_test_helper.h"
22 #include "content/public/test/test_file_system_context.h" 23 #include "content/public/test/test_file_system_context.h"
23 #include "content/test/fileapi_test_file_set.h" 24 #include "content/test/fileapi_test_file_set.h"
24 #include "storage/browser/fileapi/dragged_file_util.h" 25 #include "storage/browser/fileapi/dragged_file_util.h"
25 #include "storage/browser/fileapi/file_system_context.h" 26 #include "storage/browser/fileapi/file_system_context.h"
26 #include "storage/browser/fileapi/file_system_operation_context.h" 27 #include "storage/browser/fileapi/file_system_operation_context.h"
27 #include "storage/browser/fileapi/isolated_context.h" 28 #include "storage/browser/fileapi/isolated_context.h"
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 EXPECT_EQ(base::File::FILE_OK, 547 EXPECT_EQ(base::File::FILE_OK,
547 file_util()->Truncate(GetOperationContext().get(), url, 999)); 548 file_util()->Truncate(GetOperationContext().get(), url, 999));
548 ASSERT_EQ(base::File::FILE_OK, 549 ASSERT_EQ(base::File::FILE_OK,
549 file_util()->GetFileInfo(GetOperationContext().get(), url, 550 file_util()->GetFileInfo(GetOperationContext().get(), url,
550 &info, &platform_path)); 551 &info, &platform_path));
551 EXPECT_EQ(999, info.size); 552 EXPECT_EQ(999, info.size);
552 } 553 }
553 } 554 }
554 555
555 } // namespace content 556 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698