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

Side by Side Diff: net/disk_cache/backend_unittest.cc

Issue 1746023003: Fix compile failure in disk cache backend tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2623
Patch Set: narrowed (by rebase) Created 4 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <stdint.h> 5 #include <stdint.h>
6 6
7 #include "base/files/file_util.h" 7 #include "base/files/file_util.h"
8 #include "base/metrics/field_trial.h" 8 #include "base/metrics/field_trial.h"
9 #include "base/run_loop.h" 9 #include "base/run_loop.h"
10 #include "base/strings/string_number_conversions.h"
10 #include "base/strings/string_split.h" 11 #include "base/strings/string_split.h"
11 #include "base/strings/string_util.h" 12 #include "base/strings/string_util.h"
12 #include "base/strings/stringprintf.h" 13 #include "base/strings/stringprintf.h"
13 #include "base/test/mock_entropy_provider.h" 14 #include "base/test/mock_entropy_provider.h"
14 #include "base/third_party/dynamic_annotations/dynamic_annotations.h" 15 #include "base/third_party/dynamic_annotations/dynamic_annotations.h"
15 #include "base/thread_task_runner_handle.h" 16 #include "base/thread_task_runner_handle.h"
16 #include "base/threading/platform_thread.h" 17 #include "base/threading/platform_thread.h"
17 #include "base/threading/thread_restrictions.h" 18 #include "base/threading/thread_restrictions.h"
18 #include "net/base/cache_type.h" 19 #include "net/base/cache_type.h"
19 #include "net/base/io_buffer.h" 20 #include "net/base/io_buffer.h"
(...skipping 3634 matching lines...) Expand 10 before | Expand all | Expand 10 after
3654 // after closing. 3655 // after closing.
3655 // NOTE: IF THIS TEST IS FLAKY THEN IT IS FAILING. See https://crbug.com/416940 3656 // NOTE: IF THIS TEST IS FLAKY THEN IT IS FAILING. See https://crbug.com/416940
3656 TEST_F(DiskCacheBackendTest, SimpleCacheDeleteQuickly) { 3657 TEST_F(DiskCacheBackendTest, SimpleCacheDeleteQuickly) {
3657 SetSimpleCacheMode(); 3658 SetSimpleCacheMode();
3658 for (int i = 0; i < 100; ++i) { 3659 for (int i = 0; i < 100; ++i) {
3659 InitCache(); 3660 InitCache();
3660 cache_.reset(); 3661 cache_.reset();
3661 EXPECT_TRUE(CleanupCacheDir()); 3662 EXPECT_TRUE(CleanupCacheDir());
3662 } 3663 }
3663 } 3664 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698