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

Unified Diff: components/offline_pages/background/save_page_request.h

Issue 2063533002: Rewrite enum in MACRO_STYLE (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change enum name to match ios convention Created 4 years, 6 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/background/save_page_request.h
diff --git a/components/offline_pages/background/save_page_request.h b/components/offline_pages/background/save_page_request.h
index 5b2ca0d3d1ef5e8971a06d9c06d5a05bb724e63f..571eeae9464a0bd6335c51cce02c173c120ad519 100644
--- a/components/offline_pages/background/save_page_request.h
+++ b/components/offline_pages/background/save_page_request.h
@@ -17,14 +17,14 @@ namespace offline_pages {
class SavePageRequest {
public:
enum class Status {
- kNotReady, // Component requested a page be saved, but not until
+ NOT_READY, // Component requested a page be saved, but not until
// |activation_time_|.
- kPending, // Page request is pending, and coordinator can attempt it
+ PENDING, // Page request is pending, and coordinator can attempt it
// when it gets a chance to.
- kStarted, // The request is currently being processed.
- kFailed, // Page request failed many times and will no longer be
+ STARTED, // The request is currently being processed.
+ FAILED, // Page request failed many times and will no longer be
// retried.
- kExpired, // Save page request expired without being fulfilled.
+ EXPIRED, // Save page request expired without being fulfilled.
};
SavePageRequest(int64_t request_id,

Powered by Google App Engine
This is Rietveld 408576698