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

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

Issue 1969043002: Fix include path for moved thread_task_runner_handle.h header in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 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
« no previous file with comments | « net/disk_cache/blockfile/sparse_control.cc ('k') | net/disk_cache/disk_cache_test_util.cc » ('j') | 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 "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/path_service.h" 10 #include "base/path_service.h"
11 #include "base/run_loop.h" 11 #include "base/run_loop.h"
12 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
13 #include "base/thread_task_runner_handle.h"
14 #include "base/threading/platform_thread.h" 13 #include "base/threading/platform_thread.h"
14 #include "base/threading/thread_task_runner_handle.h"
15 #include "net/base/io_buffer.h" 15 #include "net/base/io_buffer.h"
16 #include "net/base/net_errors.h" 16 #include "net/base/net_errors.h"
17 #include "net/base/test_completion_callback.h" 17 #include "net/base/test_completion_callback.h"
18 #include "net/disk_cache/blockfile/backend_impl.h" 18 #include "net/disk_cache/blockfile/backend_impl.h"
19 #include "net/disk_cache/cache_util.h" 19 #include "net/disk_cache/cache_util.h"
20 #include "net/disk_cache/disk_cache.h" 20 #include "net/disk_cache/disk_cache.h"
21 #include "net/disk_cache/disk_cache_test_util.h" 21 #include "net/disk_cache/disk_cache_test_util.h"
22 #include "net/disk_cache/memory/mem_backend_impl.h" 22 #include "net/disk_cache/memory/mem_backend_impl.h"
23 #include "net/disk_cache/simple/simple_backend_impl.h" 23 #include "net/disk_cache/simple/simple_backend_impl.h"
24 #include "net/disk_cache/simple/simple_index.h" 24 #include "net/disk_cache/simple/simple_index.h"
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 if (size_) 338 if (size_)
339 EXPECT_TRUE(cache_impl_->SetMaxSize(size_)); 339 EXPECT_TRUE(cache_impl_->SetMaxSize(size_));
340 if (new_eviction_) 340 if (new_eviction_)
341 cache_impl_->SetNewEviction(); 341 cache_impl_->SetNewEviction();
342 cache_impl_->SetType(type_); 342 cache_impl_->SetType(type_);
343 cache_impl_->SetFlags(flags); 343 cache_impl_->SetFlags(flags);
344 net::TestCompletionCallback cb; 344 net::TestCompletionCallback cb;
345 int rv = cache_impl_->Init(cb.callback()); 345 int rv = cache_impl_->Init(cb.callback());
346 ASSERT_EQ(net::OK, cb.GetResult(rv)); 346 ASSERT_EQ(net::OK, cb.GetResult(rv));
347 } 347 }
OLDNEW
« no previous file with comments | « net/disk_cache/blockfile/sparse_control.cc ('k') | net/disk_cache/disk_cache_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698