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

Unified Diff: content/browser/loader/async_revalidation_driver_unittest.cc

Issue 2535723005: Stop using ResourceController in ResourceThrottle (Closed)
Patch Set: Addressed #62 Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/loader/async_revalidation_driver_unittest.cc
diff --git a/content/browser/loader/async_revalidation_driver_unittest.cc b/content/browser/loader/async_revalidation_driver_unittest.cc
index 955d53af0af4c8ac330c7fb55a4c77646112da83..91e64ba0eaec4b27ec187a6100b970fe9c4ecbb0 100644
--- a/content/browser/loader/async_revalidation_driver_unittest.cc
+++ b/content/browser/loader/async_revalidation_driver_unittest.cc
@@ -201,8 +201,9 @@ TEST_F(AsyncRevalidationDriverTest, ResumeDeferredRequestWorks) {
driver_->StartRequest();
base::RunLoop().RunUntilIdle();
- ResourceController* driver_as_resource_controller = driver_.get();
- driver_as_resource_controller->Resume();
+ ResourceThrottle::Delegate* driver_as_resource_throttle_delegate =
+ driver_.get();
+ driver_as_resource_throttle_delegate->Resume();
base::RunLoop().RunUntilIdle();
EXPECT_TRUE(async_revalidation_complete_called());
}
« no previous file with comments | « content/browser/loader/async_revalidation_driver.cc ('k') | content/browser/loader/cross_site_resource_handler_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698