Home
last modified time | relevance | path

Searched refs:InstallLimiter (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/extensions/
Dinstall_limiter.cc38 InstallLimiter::DeferredInstall::DeferredInstall( in DeferredInstall()
45 InstallLimiter::DeferredInstall::~DeferredInstall() { in ~DeferredInstall()
51 InstallLimiter* InstallLimiter::Get(Profile* profile) { in Get()
55 InstallLimiter::InstallLimiter() : disabled_for_test_(false) { in InstallLimiter() function in extensions::InstallLimiter
58 InstallLimiter::~InstallLimiter() { in ~InstallLimiter()
61 void InstallLimiter::DisableForTest() { in DisableForTest()
65 void InstallLimiter::Add(const scoped_refptr<CrxInstaller>& installer, in Add()
77 base::Bind(&InstallLimiter::AddWithSize, AsWeakPtr(), installer, path)); in Add()
80 void InstallLimiter::AddWithSize( in AddWithSize()
104 this, &InstallLimiter::CheckAndRunDeferrredInstalls); in AddWithSize()
[all …]
Dinstall_limiter.h27 class InstallLimiter : public KeyedService,
29 public base::SupportsWeakPtr<InstallLimiter> {
31 static InstallLimiter* Get(Profile* profile);
33 InstallLimiter();
34 virtual ~InstallLimiter();
81 base::OneShotTimer<InstallLimiter> wait_timer_;
85 DISALLOW_COPY_AND_ASSIGN(InstallLimiter);
Dinstall_limiter_factory.cc16 InstallLimiter* InstallLimiterFactory::GetForProfile(Profile* profile) { in GetForProfile()
17 return static_cast<InstallLimiter*>( in GetForProfile()
38 return new InstallLimiter(); in BuildServiceInstanceFor()
Dinstall_limiter_factory.h17 class InstallLimiter; variable
22 static InstallLimiter* GetForProfile(Profile* profile);
/external/chromium_org/chrome/browser/extensions/
Dextension_service_test_base.cc226 InstallLimiter::Get(profile_.get())->DisableForTest(); in CreateExtensionService()
Dextension_service.cc2007 extensions::InstallLimiter::Get(profile_)->Add(installer, path); in OnExternalExtensionFileFound()