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

Unified Diff: content/shell/browser/layout_test/layout_test_push_messaging_service.cc

Issue 1931843002: Ship Web Push subscription restrictions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: content/shell/browser/layout_test/layout_test_push_messaging_service.cc
diff --git a/content/shell/browser/layout_test/layout_test_push_messaging_service.cc b/content/shell/browser/layout_test/layout_test_push_messaging_service.cc
index c191ffd5937a5983948291780c642e787d156000..98c185719d4161bd374c554ea43dddd1af2c552f 100644
--- a/content/shell/browser/layout_test/layout_test_push_messaging_service.cc
+++ b/content/shell/browser/layout_test/layout_test_push_messaging_service.cc
@@ -61,8 +61,9 @@ LayoutTestPushMessagingService::LayoutTestPushMessagingService() {
LayoutTestPushMessagingService::~LayoutTestPushMessagingService() {
}
-GURL LayoutTestPushMessagingService::GetPushEndpoint() {
- return GURL("https://example.com/LayoutTestEndpoint");
+GURL LayoutTestPushMessagingService::GetEndpoint(bool standard_protocol) const {
+ return GURL(standard_protocol ? "https://example.com/StandardizedEndpoint/"
+ : "https://example.com/LayoutTestEndpoint/");
}
void LayoutTestPushMessagingService::SubscribeFromDocument(

Powered by Google App Engine
This is Rietveld 408576698