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

Side by Side Diff: content/browser/service_worker/service_worker_write_to_cache_job_unittest.cc

Issue 1967823004: Fix include path for moved thread_task_runner_handle.h header in content/ (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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 7
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ptr_util.h" 12 #include "base/memory/ptr_util.h"
13 #include "base/run_loop.h" 13 #include "base/run_loop.h"
14 #include "base/single_thread_task_runner.h" 14 #include "base/single_thread_task_runner.h"
15 #include "base/thread_task_runner_handle.h" 15 #include "base/threading/thread_task_runner_handle.h"
16 #include "content/browser/fileapi/mock_url_request_delegate.h" 16 #include "content/browser/fileapi/mock_url_request_delegate.h"
17 #include "content/browser/service_worker/embedded_worker_test_helper.h" 17 #include "content/browser/service_worker/embedded_worker_test_helper.h"
18 #include "content/browser/service_worker/service_worker_context_core.h" 18 #include "content/browser/service_worker/service_worker_context_core.h"
19 #include "content/browser/service_worker/service_worker_context_request_handler. h" 19 #include "content/browser/service_worker/service_worker_context_request_handler. h"
20 #include "content/browser/service_worker/service_worker_disk_cache.h" 20 #include "content/browser/service_worker/service_worker_disk_cache.h"
21 #include "content/browser/service_worker/service_worker_provider_host.h" 21 #include "content/browser/service_worker/service_worker_provider_host.h"
22 #include "content/browser/service_worker/service_worker_registration.h" 22 #include "content/browser/service_worker/service_worker_registration.h"
23 #include "content/browser/service_worker/service_worker_test_utils.h" 23 #include "content/browser/service_worker/service_worker_test_utils.h"
24 #include "content/common/resource_request_body.h" 24 #include "content/common/resource_request_body.h"
25 #include "content/common/service_worker/service_worker_utils.h" 25 #include "content/common/service_worker/service_worker_utils.h"
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 mock_protocol_handler_->SetCreateJobCallback( 608 mock_protocol_handler_->SetCreateJobCallback(
609 base::Bind(&CreateNormalURLRequestJob)); 609 base::Bind(&CreateNormalURLRequestJob));
610 DisableCache(); 610 DisableCache();
611 request_->Start(); 611 request_->Start();
612 base::RunLoop().RunUntilIdle(); 612 base::RunLoop().RunUntilIdle();
613 EXPECT_EQ(net::URLRequestStatus::FAILED, request_->status().status()); 613 EXPECT_EQ(net::URLRequestStatus::FAILED, request_->status().status());
614 EXPECT_EQ(net::ERR_FAILED, request_->status().error()); 614 EXPECT_EQ(net::ERR_FAILED, request_->status().error());
615 } 615 }
616 616
617 } // namespace content 617 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698