Searched refs:EphemeralAppService (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/chrome/browser/apps/
H A Dephemeral_app_service.h28 class EphemeralAppService : public KeyedService, class in inherits:KeyedService,content::NotificationObserver,extensions::ExtensionRegistryObserver,apps::AppLifetimeMonitor::Observer
35 static EphemeralAppService* Get(Profile* profile);
37 explicit EphemeralAppService(Profile* profile);
38 virtual ~EphemeralAppService();
108 base::OneShotTimer<EphemeralAppService> garbage_collect_apps_timer_;
117 base::WeakPtrFactory<EphemeralAppService> weak_ptr_factory_;
122 DISALLOW_COPY_AND_ASSIGN(EphemeralAppService);
H A Dephemeral_app_service.cc58 const int EphemeralAppService::kAppInactiveThreshold = 10;
59 const int EphemeralAppService::kAppKeepThreshold = 1;
60 const int EphemeralAppService::kMaxEphemeralAppsCount = 30;
63 EphemeralAppService* EphemeralAppService::Get(Profile* profile) {
67 EphemeralAppService::EphemeralAppService(Profile* profile) function in class:EphemeralAppService
79 EphemeralAppService::~EphemeralAppService() {
82 void EphemeralAppService
[all...]
H A Dephemeral_app_service_factory.cc17 EphemeralAppService*
19 return static_cast<EphemeralAppService*>(
30 "EphemeralAppService",
41 return new EphemeralAppService(Profile::FromBrowserContext(context));
H A Dephemeral_app_service_factory.h11 class EphemeralAppService;
16 static EphemeralAppService* GetForProfile(Profile* profile);
H A Dephemeral_app_service_unittest.cc37 typedef EphemeralAppService::LaunchTimeAppMap LaunchTimeAppMap;
46 EphemeralAppService::GetAppsToRemove(ephemeral_app_count,
56 EphemeralAppService::GetAppsToRemove(ephemeral_app_count,
113 EphemeralAppService::kAppInactiveThreshold + 1,
126 EphemeralAppService::kAppKeepThreshold,
139 int days_before = base::RandInt(EphemeralAppService::kAppKeepThreshold + 1,
140 EphemeralAppService::kAppInactiveThreshold);
160 EphemeralAppService::kMaxEphemeralAppsCount / 5,
177 EphemeralAppService::kMaxEphemeralAppsCount / 5,
182 EphemeralAppService
[all...]
H A Dephemeral_app_service_browsertest.cc43 EphemeralAppService* ephemeral_service = EphemeralAppService::Get(
49 void InitEphemeralAppCount(EphemeralAppService* ephemeral_service) {
54 EphemeralAppService* ephemeral_service =
55 EphemeralAppService::Get(browser()->profile());
65 // policies is done in the unit tests for EphemeralAppService. This is more
69 EphemeralAppService* ephemeral_service =
70 EphemeralAppService::Get(browser()->profile());
83 base::TimeDelta::FromDays(EphemeralAppService::kAppInactiveThreshold + 1);
89 base::TimeDelta::FromDays(EphemeralAppService
[all...]
H A Dephemeral_app_launcher_browsertest.cc213 EphemeralAppService::Get(profile())->set_disable_delay_for_test(0);
H A Dephemeral_app_browsertest.cc213 EphemeralAppService::Get(profile())->set_disable_delay_for_test(0);
/external/chromium_org/chrome/browser/browsing_data/
H A Dbrowsing_data_remover.cc628 EphemeralAppService::Get(profile_)->ClearCachedApps();

Completed in 1985 milliseconds