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

Unified Diff: chrome/browser/apps/ephemeral_app_service.h

Issue 383703002: Clear the ephemeral app cache from Clear Browsing Data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed review comments for tests Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/apps/ephemeral_app_service.h
diff --git a/chrome/browser/apps/ephemeral_app_service.h b/chrome/browser/apps/ephemeral_app_service.h
index ee4b9b1cc752fc8c94448c9f01f310d0d5d0e57c..367c5544f85e9630461a5ae6cac6a8cde9d1c0da 100644
--- a/chrome/browser/apps/ephemeral_app_service.h
+++ b/chrome/browser/apps/ephemeral_app_service.h
@@ -34,6 +34,9 @@ class EphemeralAppService : public KeyedService,
explicit EphemeralAppService(Profile* profile);
virtual ~EphemeralAppService();
+ // Clears the ephemeral app cache. Removes all idle ephemeral apps.
+ void ClearCachedApps();
+
int ephemeral_app_count() const { return ephemeral_app_count_; }
// Constants exposed for testing purposes:

Powered by Google App Engine
This is Rietveld 408576698