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

Unified Diff: content/shell/renderer/test_runner/mock_web_push_client.cc

Issue 366323002: Push API: use an enum to indicate status. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Tweak mock error message. Created 6 years, 5 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 | « content/renderer/push_messaging_dispatcher.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/mock_web_push_client.cc
diff --git a/content/shell/renderer/test_runner/mock_web_push_client.cc b/content/shell/renderer/test_runner/mock_web_push_client.cc
index 5b846c3e01ff0392b75d5bf8e93040cce6aa8aff..efb13838eab27cb549661383ae70a1d9c4f0c164 100644
--- a/content/shell/renderer/test_runner/mock_web_push_client.cc
+++ b/content/shell/renderer/test_runner/mock_web_push_client.cc
@@ -15,9 +15,8 @@ using blink::WebString;
namespace content {
MockWebPushClient::MockWebPushClient()
- // The default state should be be an error with "Registration failed." message
- // because LayoutTests are currently depending on that.
- : error_message_("Registration failed.") {
+ : error_message_(
+ "Registration failed (default mock client error message)") {
}
MockWebPushClient::~MockWebPushClient() {}
« no previous file with comments | « content/renderer/push_messaging_dispatcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698