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

Unified Diff: chrome/browser/component_updater/component_updater_resource_throttle.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: chrome/browser/component_updater/component_updater_resource_throttle.cc
diff --git a/chrome/browser/component_updater/component_updater_resource_throttle.cc b/chrome/browser/component_updater/component_updater_resource_throttle.cc
index dac716eaca7e8287ca8e48c682a3f48190f9ee50..498ddf3ea81cd15caf3ac10e8abe8a0b6c5c4aa1 100644
--- a/chrome/browser/component_updater/component_updater_resource_throttle.cc
+++ b/chrome/browser/component_updater/component_updater_resource_throttle.cc
@@ -8,7 +8,6 @@
#include "base/memory/weak_ptr.h"
#include "components/component_updater/component_updater_service.h"
#include "content/public/browser/browser_thread.h"
-#include "content/public/browser/resource_controller.h"
#include "content/public/browser/resource_throttle.h"
using content::BrowserThread;
@@ -76,7 +75,7 @@ const char* CUResourceThrottle::GetNameForLogging() const {
void CUResourceThrottle::Unblock() {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
if (state_ == BLOCKED)
- controller()->Resume();
+ Resume();
state_ = UNBLOCKED;
}

Powered by Google App Engine
This is Rietveld 408576698