blob: 5a9f0a62bcd690ec0d277befcb61f8e0f47dc77e [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <string>
namespace content {
class ResourceThrottle;
namespace component_updater {
class ComponentUpdateService;
// Returns a network resource throttle. It means that a component will be
// downloaded and installed before the resource is unthrottled. This function
// can be called from the IO thread.
content::ResourceThrottle* GetOnDemandResourceThrottle(
ComponentUpdateService* cus,
const std::string& crx_id);
} // namespace component_updater