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

Unified Diff: components/offline_pages/offline_page_item.cc

Issue 1902593006: [Offline pages] Removing undoing of deleting offline pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bookmarks-out
Patch Set: Created 4 years, 8 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
« no previous file with comments | « components/offline_pages/offline_page_item.h ('k') | components/offline_pages/offline_page_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/offline_pages/offline_page_item.cc
diff --git a/components/offline_pages/offline_page_item.cc b/components/offline_pages/offline_page_item.cc
index dc744dcf2e7c9ed2d979093b20a0101a8e4c7337..98d514473d79f7e05fdfed13647df0023ace522b 100644
--- a/components/offline_pages/offline_page_item.cc
+++ b/components/offline_pages/offline_page_item.cc
@@ -69,16 +69,4 @@ GURL OfflinePageItem::GetOfflineURL() const {
return net::FilePathToFileURL(file_path);
}
-bool OfflinePageItem::IsMarkedForDeletion() const {
- return (static_cast<int>(flags) & MARKED_FOR_DELETION) != 0;
-}
-
-void OfflinePageItem::MarkForDeletion() {
- flags = static_cast<Flags>(static_cast<int>(flags) | MARKED_FOR_DELETION);
-}
-
-void OfflinePageItem::ClearMarkForDeletion() {
- flags = static_cast<Flags>(static_cast<int>(flags) & ~MARKED_FOR_DELETION);
-}
-
} // namespace offline_pages
« no previous file with comments | « components/offline_pages/offline_page_item.h ('k') | components/offline_pages/offline_page_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698