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

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

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <memory> 5 #include <memory>
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
11 #include "base/single_thread_task_runner.h"
11 #include "base/test/null_task_runner.h" 12 #include "base/test/null_task_runner.h"
12 #include "content/browser/child_process_security_policy_impl.h" 13 #include "content/browser/child_process_security_policy_impl.h"
13 #include "content/browser/fileapi/browser_file_system_helper.h" 14 #include "content/browser/fileapi/browser_file_system_helper.h"
14 #include "content/public/common/drop_data.h" 15 #include "content/public/common/drop_data.h"
15 #include "net/base/filename_util.h" 16 #include "net/base/filename_util.h"
16 #include "storage/browser/fileapi/external_mount_points.h" 17 #include "storage/browser/fileapi/external_mount_points.h"
17 #include "storage/browser/fileapi/file_system_options.h" 18 #include "storage/browser/fileapi/file_system_options.h"
18 #include "storage/browser/fileapi/file_system_url.h" 19 #include "storage/browser/fileapi/file_system_url.h"
19 #include "storage/browser/fileapi/isolated_context.h" 20 #include "storage/browser/fileapi/isolated_context.h"
20 #include "storage/common/fileapi/file_system_types.h" 21 #include "storage/common/fileapi/file_system_types.h"
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 // Verify that there is still no access for |kOtherFile|. 179 // Verify that there is still no access for |kOtherFile|.
179 EXPECT_FALSE(p->CanReadFile(kRendererID, kOtherFile)); 180 EXPECT_FALSE(p->CanReadFile(kRendererID, kOtherFile));
180 EXPECT_FALSE(p->CanCreateReadWriteFile(kRendererID, kOtherFile)); 181 EXPECT_FALSE(p->CanCreateReadWriteFile(kRendererID, kOtherFile));
181 EXPECT_FALSE( 182 EXPECT_FALSE(
182 p->CanCommitURL(kRendererID, net::FilePathToFileURL(kOtherFile))); 183 p->CanCommitURL(kRendererID, net::FilePathToFileURL(kOtherFile)));
183 184
184 p->Remove(kRendererID); 185 p->Remove(kRendererID);
185 } 186 }
186 187
187 } // namespace content 188 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/download/url_downloader.cc ('k') | content/browser/gpu/browser_gpu_channel_host_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698