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

Unified Diff: components/offline_pages/offline_page_types.h

Issue 2356433004: [Offline pages] Extracting AddRequest method in RequestQueueStore (Closed)
Patch Set: Updating the callback for AddRequest. 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
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 {
Pete Williamson 2016/09/21 00:00:08 Would this make more sense in request_queue_store.
fgorski 2016/09/21 05:07:51 I am thinking of how to best structure that. I thi
SUCCESS,
- CANCELLED,
- STORE_FAILURE,
+ ALREADY_EXISTS,
+ NOT_FOUND,
+ STORE_ERROR,
};
typedef std::set<GURL> CheckPagesExistOfflineResult;

Powered by Google App Engine
This is Rietveld 408576698