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

Unified Diff: chrome/browser/android/webapps/webapp_registry.h

Issue 1749603002: Store URLs in WebappDataStorage, and purge them when history is cleared. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 9 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/android/webapps/webapp_registry.h
diff --git a/chrome/browser/android/webapps/webapp_registry.h b/chrome/browser/android/webapps/webapp_registry.h
index 2d0a2cb9630ebc6c5c6183fae09d49b635271486..d364b6edd5d0f7efb2118f17532253b874419667 100644
--- a/chrome/browser/android/webapps/webapp_registry.h
+++ b/chrome/browser/android/webapps/webapp_registry.h
@@ -26,6 +26,10 @@ class WebappRegistry {
// Cleans up data stored by web apps.
virtual void UnregisterWebapps(const base::Closure& callback);
+ // Removes history data (last used time and URLs) stored by web apps, whilst
+ // leaving other data intact.
+ virtual void ClearWebappHistory(const base::Closure& callback);
+
private:
DISALLOW_COPY_AND_ASSIGN(WebappRegistry);
};
« no previous file with comments | « chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc ('k') | chrome/browser/android/webapps/webapp_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698