Chromium Code Reviews
DescriptionMake OfflinePage ContentSuggestions dismissable
Make MakeUniqueID and friends const methods.
Add a new pref to store the IDs of all dismissed offline pages. Add
methods in OfflinePageSuggestionsProvider to store and load these IDs.
Modify OnOfflinePagesLoaded to only forward non-dismissed items.
Implement ClearDismissedSuggestionsForDebugging and a temporary version
for GetDismissedSuggestionsForDebugging (the Snippets Internals will
need refactoring for this to work properly).
BUG=628198
Committed: https://crrev.com/c7c00479f3e57375b15c430b4057a51f8c2ce3e5
Cr-Commit-Position: refs/heads/master@{#411579}
Patch Set 1 #
Total comments: 18
Patch Set 2 : Rename the preference to recent_tabs to avoid renaming it later #Patch Set 3 : Marc's comments #Patch Set 4 : (ignore this, I accidentally cherry-picked this to the wrong branch) #Patch Set 5 : Roll back to patch set 3 #Patch Set 6 : base::Value --> std::unique_ptr<base::Value> #
Dependent Patchsets: Messages
Total messages: 17 (5 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||