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

Side by Side Diff: content/browser/quota/quota_backend_impl_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "storage/browser/fileapi/quota/quota_backend_impl.h" 5 #include "storage/browser/fileapi/quota/quota_backend_impl.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/files/scoped_temp_dir.h" 11 #include "base/files/scoped_temp_dir.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/scoped_ptr.h"
13 #include "base/thread_task_runner_handle.h" 14 #include "base/thread_task_runner_handle.h"
14 #include "storage/browser/fileapi/file_system_usage_cache.h" 15 #include "storage/browser/fileapi/file_system_usage_cache.h"
15 #include "storage/browser/fileapi/obfuscated_file_util.h" 16 #include "storage/browser/fileapi/obfuscated_file_util.h"
16 #include "storage/browser/quota/quota_manager_proxy.h" 17 #include "storage/browser/quota/quota_manager_proxy.h"
17 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
18 #include "third_party/leveldatabase/src/helpers/memenv/memenv.h" 19 #include "third_party/leveldatabase/src/helpers/memenv/memenv.h"
19 #include "third_party/leveldatabase/src/include/leveldb/env.h" 20 #include "third_party/leveldatabase/src/include/leveldb/env.h"
20 21
21 using storage::FileSystemUsageCache; 22 using storage::FileSystemUsageCache;
22 using storage::ObfuscatedFileUtil; 23 using storage::ObfuscatedFileUtil;
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 uint32_t dirty = 0; 266 uint32_t dirty = 0;
266 ASSERT_TRUE(file_system_usage_cache_.GetDirty(path, &dirty)); 267 ASSERT_TRUE(file_system_usage_cache_.GetDirty(path, &dirty));
267 EXPECT_EQ(1u, dirty); 268 EXPECT_EQ(1u, dirty);
268 269
269 backend_->DecrementDirtyCount(GURL(kOrigin), type); 270 backend_->DecrementDirtyCount(GURL(kOrigin), type);
270 ASSERT_TRUE(file_system_usage_cache_.GetDirty(path, &dirty)); 271 ASSERT_TRUE(file_system_usage_cache_.GetDirty(path, &dirty));
271 EXPECT_EQ(0u, dirty); 272 EXPECT_EQ(0u, dirty);
272 } 273 }
273 274
274 } // namespace content 275 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_process_host.h ('k') | content/browser/quota/quota_reservation_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698