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

Side by Side Diff: content/browser/quota/quota_backend_impl_unittest.cc

Issue 559063002: Remove webkit/browser/, point everything to storage/browser/ instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up DEPS per feedback Created 6 years, 3 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 "webkit/browser/fileapi/quota/quota_backend_impl.h" 5 #include "storage/browser/fileapi/quota/quota_backend_impl.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/files/scoped_temp_dir.h" 9 #include "base/files/scoped_temp_dir.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "storage/browser/fileapi/file_system_usage_cache.h"
12 #include "storage/browser/fileapi/obfuscated_file_util.h"
13 #include "storage/browser/quota/quota_manager_proxy.h"
11 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
12 #include "third_party/leveldatabase/src/helpers/memenv/memenv.h" 15 #include "third_party/leveldatabase/src/helpers/memenv/memenv.h"
13 #include "third_party/leveldatabase/src/include/leveldb/env.h" 16 #include "third_party/leveldatabase/src/include/leveldb/env.h"
14 #include "webkit/browser/fileapi/file_system_usage_cache.h"
15 #include "webkit/browser/fileapi/obfuscated_file_util.h"
16 #include "webkit/browser/quota/quota_manager_proxy.h"
17 17
18 using storage::FileSystemUsageCache; 18 using storage::FileSystemUsageCache;
19 using storage::ObfuscatedFileUtil; 19 using storage::ObfuscatedFileUtil;
20 using storage::QuotaBackendImpl; 20 using storage::QuotaBackendImpl;
21 using storage::SandboxFileSystemBackendDelegate; 21 using storage::SandboxFileSystemBackendDelegate;
22 22
23 namespace content { 23 namespace content {
24 24
25 namespace { 25 namespace {
26 26
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 uint32 dirty = 0; 263 uint32 dirty = 0;
264 ASSERT_TRUE(file_system_usage_cache_.GetDirty(path, &dirty)); 264 ASSERT_TRUE(file_system_usage_cache_.GetDirty(path, &dirty));
265 EXPECT_EQ(1u, dirty); 265 EXPECT_EQ(1u, dirty);
266 266
267 backend_->DecrementDirtyCount(GURL(kOrigin), type); 267 backend_->DecrementDirtyCount(GURL(kOrigin), type);
268 ASSERT_TRUE(file_system_usage_cache_.GetDirty(path, &dirty)); 268 ASSERT_TRUE(file_system_usage_cache_.GetDirty(path, &dirty));
269 EXPECT_EQ(0u, dirty); 269 EXPECT_EQ(0u, dirty);
270 } 270 }
271 271
272 } // namespace content 272 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/quota/mock_quota_manager_proxy.h ('k') | content/browser/quota/quota_database_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698