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

Side by Side Diff: content/public/test/sandbox_file_system_test_helper.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 "content/public/test/sandbox_file_system_test_helper.h" 5 #include "content/public/test/sandbox_file_system_test_helper.h"
6 6
7 #include "base/files/file_util.h" 7 #include "base/files/file_util.h"
8 #include "base/memory/scoped_ptr.h"
8 #include "base/run_loop.h" 9 #include "base/run_loop.h"
9 #include "content/public/test/mock_special_storage_policy.h" 10 #include "content/public/test/mock_special_storage_policy.h"
10 #include "content/public/test/test_file_system_context.h" 11 #include "content/public/test/test_file_system_context.h"
11 #include "storage/browser/fileapi/file_system_context.h" 12 #include "storage/browser/fileapi/file_system_context.h"
12 #include "storage/browser/fileapi/file_system_file_util.h" 13 #include "storage/browser/fileapi/file_system_file_util.h"
13 #include "storage/browser/fileapi/file_system_operation_context.h" 14 #include "storage/browser/fileapi/file_system_operation_context.h"
14 #include "storage/browser/fileapi/file_system_operation_runner.h" 15 #include "storage/browser/fileapi/file_system_operation_runner.h"
15 #include "storage/browser/fileapi/file_system_url.h" 16 #include "storage/browser/fileapi/file_system_url.h"
16 #include "storage/browser/fileapi/file_system_usage_cache.h" 17 #include "storage/browser/fileapi/file_system_usage_cache.h"
17 #include "storage/browser/fileapi/sandbox_file_system_backend.h" 18 #include "storage/browser/fileapi/sandbox_file_system_backend.h"
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 file_system_context_->sandbox_delegate()-> 156 file_system_context_->sandbox_delegate()->
156 GetBaseDirectoryForOriginAndType(origin_, type_, true /* create */); 157 GetBaseDirectoryForOriginAndType(origin_, type_, true /* create */);
157 158
158 // Initialize the usage cache file. 159 // Initialize the usage cache file.
159 base::FilePath usage_cache_path = GetUsageCachePath(); 160 base::FilePath usage_cache_path = GetUsageCachePath();
160 if (!usage_cache_path.empty()) 161 if (!usage_cache_path.empty())
161 usage_cache()->UpdateUsage(usage_cache_path, 0); 162 usage_cache()->UpdateUsage(usage_cache_path, 0);
162 } 163 }
163 164
164 } // namespace content 165 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/navigation_handle.h ('k') | content/renderer/p2p/filtering_network_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698