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

Side by Side Diff: net/disk_cache/disk_cache_test_base.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 "net/disk_cache/disk_cache_test_base.h" 5 #include "net/disk_cache/disk_cache_test_base.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/message_loop/message_loop.h"
10 #include "base/path_service.h" 11 #include "base/path_service.h"
11 #include "base/run_loop.h" 12 #include "base/run_loop.h"
12 #include "base/single_thread_task_runner.h" 13 #include "base/single_thread_task_runner.h"
13 #include "base/threading/platform_thread.h" 14 #include "base/threading/platform_thread.h"
14 #include "base/threading/thread_task_runner_handle.h" 15 #include "base/threading/thread_task_runner_handle.h"
15 #include "net/base/io_buffer.h" 16 #include "net/base/io_buffer.h"
16 #include "net/base/net_errors.h" 17 #include "net/base/net_errors.h"
17 #include "net/base/test_completion_callback.h" 18 #include "net/base/test_completion_callback.h"
18 #include "net/disk_cache/blockfile/backend_impl.h" 19 #include "net/disk_cache/blockfile/backend_impl.h"
19 #include "net/disk_cache/cache_util.h" 20 #include "net/disk_cache/cache_util.h"
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 if (size_) 351 if (size_)
351 EXPECT_TRUE(cache_impl_->SetMaxSize(size_)); 352 EXPECT_TRUE(cache_impl_->SetMaxSize(size_));
352 if (new_eviction_) 353 if (new_eviction_)
353 cache_impl_->SetNewEviction(); 354 cache_impl_->SetNewEviction();
354 cache_impl_->SetType(type_); 355 cache_impl_->SetType(type_);
355 cache_impl_->SetFlags(flags); 356 cache_impl_->SetFlags(flags);
356 net::TestCompletionCallback cb; 357 net::TestCompletionCallback cb;
357 int rv = cache_impl_->Init(cb.callback()); 358 int rv = cache_impl_->Init(cb.callback());
358 ASSERT_THAT(cb.GetResult(rv), IsOk()); 359 ASSERT_THAT(cb.GetResult(rv), IsOk());
359 } 360 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698