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

Unified Diff: components/offline_pages/offline_page_types.h

Issue 2356433004: [Offline pages] Extracting AddRequest method in RequestQueueStore (Closed)
Patch Set: Addressing feedback plus attempt at fixing compilation issue" Created 4 years, 3 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_metadata_store.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/offline_pages/offline_page_types.h
diff --git a/components/offline_pages/offline_page_types.h b/components/offline_pages/offline_page_types.h
index 20d0d99837104db7f3a06d704c64b996f247620c..d80c0feb09be13098a441aafb94d35281be862c7 100644
--- a/components/offline_pages/offline_page_types.h
+++ b/components/offline_pages/offline_page_types.h
@@ -57,11 +57,12 @@ enum class DeletePageResult {
RESULT_COUNT,
};
-// Result of loading all pages.
-enum class LoadResult {
+// Statuses referring to actions taken on items in the stores.
+enum class ItemActionStatus {
SUCCESS,
- CANCELLED,
- STORE_FAILURE,
+ ALREADY_EXISTS,
+ NOT_FOUND,
+ STORE_ERROR,
};
typedef std::set<GURL> CheckPagesExistOfflineResult;
« no previous file with comments | « components/offline_pages/offline_page_metadata_store.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698