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

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

Issue 1159623009: content: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test build fix. Created 5 years, 6 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 "base/basictypes.h" 5 #include "base/basictypes.h"
6 #include "base/bind.h" 6 #include "base/bind.h"
7 #include "base/files/file_util.h" 7 #include "base/files/file_util.h"
8 #include "base/files/scoped_temp_dir.h" 8 #include "base/files/scoped_temp_dir.h"
9 #include "base/message_loop/message_loop_proxy.h"
10 #include "base/run_loop.h" 9 #include "base/run_loop.h"
11 #include "content/public/test/async_file_test_helper.h" 10 #include "content/public/test/async_file_test_helper.h"
12 #include "content/public/test/test_file_system_context.h" 11 #include "content/public/test/test_file_system_context.h"
13 #include "storage/browser/fileapi/file_system_context.h" 12 #include "storage/browser/fileapi/file_system_context.h"
14 #include "storage/browser/fileapi/file_system_quota_client.h" 13 #include "storage/browser/fileapi/file_system_quota_client.h"
15 #include "storage/browser/fileapi/file_system_usage_cache.h" 14 #include "storage/browser/fileapi/file_system_usage_cache.h"
16 #include "storage/browser/fileapi/obfuscated_file_util.h" 15 #include "storage/browser/fileapi/obfuscated_file_util.h"
17 #include "storage/common/fileapi/file_system_types.h" 16 #include "storage/common/fileapi/file_system_types.h"
18 #include "storage/common/fileapi/file_system_util.h" 17 #include "storage/common/fileapi/file_system_util.h"
19 #include "storage/common/quota/quota_types.h" 18 #include "storage/common/quota/quota_types.h"
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 GetOriginUsage(quota_client.get(), 556 GetOriginUsage(quota_client.get(),
558 "https://bar.com/", 557 "https://bar.com/",
559 kPersistent)); 558 kPersistent));
560 EXPECT_EQ(64 + file_paths_cost_temporary_bar_https, 559 EXPECT_EQ(64 + file_paths_cost_temporary_bar_https,
561 GetOriginUsage(quota_client.get(), 560 GetOriginUsage(quota_client.get(),
562 "https://bar.com/", 561 "https://bar.com/",
563 kTemporary)); 562 kTemporary));
564 } 563 }
565 564
566 } // namespace content 565 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698