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

Unified Diff: content/public/common/push_messaging_status.cc

Issue 758403003: Push API: Store push registration IDs for GetRegistration etc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@endpoint
Patch Set: Rebase Created 6 years 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 | « content/public/common/push_messaging_status.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/push_messaging_status.cc
diff --git a/content/public/common/push_messaging_status.cc b/content/public/common/push_messaging_status.cc
index d3b3d1b9dc51f2b95da738141b17277caf961aa6..53a0d9209de38866b727a189871242b36047d852 100644
--- a/content/public/common/push_messaging_status.cc
+++ b/content/public/common/push_messaging_status.cc
@@ -30,6 +30,9 @@ const char* PushRegistrationStatusToString(PushRegistrationStatus status) {
case PUSH_REGISTRATION_STATUS_NO_SENDER_ID:
return "Registration failed - no sender id provided";
+
+ case PUSH_REGISTRATION_STATUS_STORAGE_ERROR:
+ return "Registration failed - storage error";
}
NOTREACHED();
return "";
« no previous file with comments | « content/public/common/push_messaging_status.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698