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

Unified Diff: chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc

Issue 292203002: Define and implement an interface for on-demand component updates. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
diff --git a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
index 9c5a09c383c01c09a07974b386de80b50a685662..6d953ff0202277f9ef1bfaabf36b503f6f6136d0 100644
--- a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
+++ b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.h"
#include <string>
+#include <vector>
#include "base/base64.h"
#include "base/logging.h"
@@ -247,7 +248,8 @@ void AppendComponentUpdaterThrottles(
if (crx_id) {
// We got a component we need to install, so throttle the resource
// until the component is installed.
- throttles->push_back(cus->GetOnDemandResourceThrottle(request, crx_id));
+ throttles->push_back(
+ cus->GetOnDemandUpdater().GetOnDemandResourceThrottle(request, crx_id));
}
}

Powered by Google App Engine
This is Rietveld 408576698