summaryrefslogtreecommitdiffstats
path: root/content/public/browser/browser_ppapi_host.h
diff options
context:
space:
mode:
authortmdiep@chromium.org <tmdiep@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-18 23:34:03 +0000
committertmdiep@chromium.org <tmdiep@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-18 23:34:03 +0000
commit617342a4d1d8c52a788b35a44f0f504d39b2f2cd (patch)
tree55d1a90a5305dbe5a04eaf962e7efab999475e22 /content/public/browser/browser_ppapi_host.h
parent02ddb19c121577813ae51887fe357e2134183d3e (diff)
downloadchromium_src-617342a4d1d8c52a788b35a44f0f504d39b2f2cd.zip
chromium_src-617342a4d1d8c52a788b35a44f0f504d39b2f2cd.tar.gz
chromium_src-617342a4d1d8c52a788b35a44f0f504d39b2f2cd.tar.bz2
Implement replacement policies for the ephemeral apps cache
Garbage collect inactive ephemeral apps. The app's data will be removed at the same time for now. The policies of the cache are: 1. If the app is currently running, it will not be removed. 2. If the app has been launched within 1 day, it will not be removed. 3. If the app has not been launched for more than 10 days, it will be removed. 4. For apps that have been launched between 1 and 10 days, the least recently launched excess will be removed if the cache exceeds 30 apps. BUG=312460 TEST=unit_tests (EphemeralAppServiceTest.*) browser_tests (EphemeralAppServiceBrowserTest.*) Review URL: https://codereview.chromium.org/113553004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241701 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public/browser/browser_ppapi_host.h')
0 files changed, 0 insertions, 0 deletions