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

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: Created 4 years, 10 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 26357bcd56edc2ad0833aadeb2398228e22a83b4..37975598ed30518cd2bae36a20e0566e96874df0 100644
--- a/chrome/browser/android/webapps/webapp_registry.h
+++ b/chrome/browser/android/webapps/webapp_registry.h
@@ -20,6 +20,10 @@ class WebappRegistry {
// Cleans up data stored by web apps.
static void UnregisterWebapps(const base::Closure& callback);
+ // Removes history data (last used time and URLs) stored by web apps, whilst
+ // leaving other data intact.
+ static void ClearWebappHistory(const base::Closure& callback);
+
private:
~WebappRegistry() = delete;

Powered by Google App Engine
This is Rietveld 408576698