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

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

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 years, 7 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 (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.h" 7 #include "base/files/file.h"
8 #include "base/files/file_util.h" 8 #include "base/files/file_util.h"
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "base/message_loop/message_loop.h"
10 #include "base/metrics/field_trial.h" 11 #include "base/metrics/field_trial.h"
11 #include "base/run_loop.h" 12 #include "base/run_loop.h"
12 #include "base/strings/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
13 #include "base/strings/string_split.h" 14 #include "base/strings/string_split.h"
14 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
15 #include "base/strings/stringprintf.h" 16 #include "base/strings/stringprintf.h"
16 #include "base/test/mock_entropy_provider.h" 17 #include "base/test/mock_entropy_provider.h"
17 #include "base/third_party/dynamic_annotations/dynamic_annotations.h" 18 #include "base/third_party/dynamic_annotations/dynamic_annotations.h"
18 #include "base/threading/platform_thread.h" 19 #include "base/threading/platform_thread.h"
19 #include "base/threading/thread_restrictions.h" 20 #include "base/threading/thread_restrictions.h"
(...skipping 4064 matching lines...) Expand 10 before | Expand all | Expand 10 after
4084 disk_cache::SimpleBackendImpl::FlushWorkerPoolForTesting(); 4085 disk_cache::SimpleBackendImpl::FlushWorkerPoolForTesting();
4085 base::RunLoop().RunUntilIdle(); 4086 base::RunLoop().RunUntilIdle();
4086 4087
4087 disk_cache::Entry* reopen_entry1; 4088 disk_cache::Entry* reopen_entry1;
4088 ASSERT_THAT(OpenEntry(key1, &reopen_entry1), IsOk()); 4089 ASSERT_THAT(OpenEntry(key1, &reopen_entry1), IsOk());
4089 4090
4090 // This shouldn't pick up entry2's write time incorrectly. 4091 // This shouldn't pick up entry2's write time incorrectly.
4091 EXPECT_LE(reopen_entry1->GetLastModified(), entry1_timestamp); 4092 EXPECT_LE(reopen_entry1->GetLastModified(), entry1_timestamp);
4092 reopen_entry1->Close(); 4093 reopen_entry1->Close();
4093 } 4094 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698