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

Issue 383703002: Clear the ephemeral app cache from Clear Browsing Data (Closed)

Created:
6 years, 5 months ago by tmdiep
Modified:
6 years, 5 months ago
Reviewers:
tapted, Mike West
CC:
chrome-apps-syd-reviews_chromium.org, chromium-reviews, markusheintz_
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Clear the ephemeral app cache from Clear Browsing Data Selecting the "Cached images and files" in the Clear Browsing Data dialog will now remove all idle ephemeral apps. BUG=392007 TEST=browser_tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283529

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address review comments #

Patch Set 3 : Addressed review comments for tests #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -27 lines) Patch
M chrome/browser/apps/ephemeral_app_browsertest.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/apps/ephemeral_app_browsertest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/apps/ephemeral_app_service.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/apps/ephemeral_app_service.cc View 1 6 chunks +53 lines, -16 lines 0 comments Download
M chrome/browser/apps/ephemeral_app_service_browsertest.cc View 1 2 3 chunks +37 lines, -10 lines 0 comments Download
M chrome/browser/browsing_data/browsing_data_remover.cc View 2 chunks +6 lines, -0 lines 2 comments Download

Messages

Total messages: 13 (0 generated)
tmdiep
The ephemeral app cache will now be cleared as part of the BrowsingDataRemover. I didn't ...
6 years, 5 months ago (2014-07-10 23:25:25 UTC) #1
tapted
https://codereview.chromium.org/383703002/diff/1/chrome/browser/apps/ephemeral_app_service.cc File chrome/browser/apps/ephemeral_app_service.cc (right): https://codereview.chromium.org/383703002/diff/1/chrome/browser/apps/ephemeral_app_service.cc#newcode93 chrome/browser/apps/ephemeral_app_service.cc:93: !service->GetInstalledExtension(extension_id)) { I think GetInstalledExtension(..) should return true for ...
6 years, 5 months ago (2014-07-11 01:16:36 UTC) #2
tmdiep
https://codereview.chromium.org/383703002/diff/1/chrome/browser/apps/ephemeral_app_service.cc File chrome/browser/apps/ephemeral_app_service.cc (right): https://codereview.chromium.org/383703002/diff/1/chrome/browser/apps/ephemeral_app_service.cc#newcode93 chrome/browser/apps/ephemeral_app_service.cc:93: !service->GetInstalledExtension(extension_id)) { On 2014/07/11 01:16:36, tapted wrote: > I ...
6 years, 5 months ago (2014-07-11 02:28:31 UTC) #3
tmdiep
Oops, got distracted and forgot about the tests! https://codereview.chromium.org/383703002/diff/1/chrome/browser/apps/ephemeral_app_service_browsertest.cc File chrome/browser/apps/ephemeral_app_service_browsertest.cc (right): https://codereview.chromium.org/383703002/diff/1/chrome/browser/apps/ephemeral_app_service_browsertest.cc#newcode146 chrome/browser/apps/ephemeral_app_service_browsertest.cc:146: ephemeral_service->ClearCachedApps(); ...
6 years, 5 months ago (2014-07-11 03:11:43 UTC) #4
tapted
lgtm
6 years, 5 months ago (2014-07-11 04:58:57 UTC) #5
tmdiep
+mkwst for browsing_data_remover. Thanks in advance.
6 years, 5 months ago (2014-07-15 11:13:04 UTC) #6
Mike West
https://codereview.chromium.org/383703002/diff/40001/chrome/browser/browsing_data/browsing_data_remover.cc File chrome/browser/browsing_data/browsing_data_remover.cc (right): https://codereview.chromium.org/383703002/diff/40001/chrome/browser/browsing_data/browsing_data_remover.cc#newcode611 chrome/browser/browsing_data/browsing_data_remover.cc:611: EphemeralAppService::Get(profile_)->ClearCachedApps(); Do ephemeral apps show up anywhere other than ...
6 years, 5 months ago (2014-07-15 11:35:55 UTC) #7
tmdiep
https://codereview.chromium.org/383703002/diff/40001/chrome/browser/browsing_data/browsing_data_remover.cc File chrome/browser/browsing_data/browsing_data_remover.cc (right): https://codereview.chromium.org/383703002/diff/40001/chrome/browser/browsing_data/browsing_data_remover.cc#newcode611 chrome/browser/browsing_data/browsing_data_remover.cc:611: EphemeralAppService::Get(profile_)->ClearCachedApps(); On 2014/07/15 11:35:55, Mike West wrote: > Do ...
6 years, 5 months ago (2014-07-15 22:26:58 UTC) #8
Mike West
Understood. I think I confused this with a different feature. LGTM.
6 years, 5 months ago (2014-07-16 07:59:14 UTC) #9
tmdiep
On 2014/07/16 07:59:14, Mike West wrote: > Understood. I think I confused this with a ...
6 years, 5 months ago (2014-07-16 08:15:59 UTC) #10
tmdiep
The CQ bit was checked by tmdiep@chromium.org
6 years, 5 months ago (2014-07-16 08:16:14 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tmdiep@chromium.org/383703002/40001
6 years, 5 months ago (2014-07-16 08:17:53 UTC) #12
commit-bot: I haz the power
6 years, 5 months ago (2014-07-16 21:52:26 UTC) #13
Message was sent while issue was closed.
Change committed as 283529

Powered by Google App Engine
This is Rietveld 408576698