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

Unified Diff: public/platform/WebPushRegistration.h

Issue 152763002: DO NOT REVIEW Bindings and plumbing for push messaging API. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Address some review comments. Created 6 years, 9 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 | « public/platform/WebPushMessagingError.h ('k') | public/web/WebViewClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebPushRegistration.h
diff --git a/public/platform/WebPushRegistration.h b/public/platform/WebPushRegistration.h
new file mode 100644
index 0000000000000000000000000000000000000000..be34c980b9e8a5f1dc3d2b458e8588eed1831414
--- /dev/null
+++ b/public/platform/WebPushRegistration.h
@@ -0,0 +1,27 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WebPushRegistration_h
+#define WebPushRegistration_h
+
+#include "WebString.h"
+
+namespace blink {
+
+struct WebPushRegistration {
+ WebPushRegistration(const WebString& endpoint, const WebString& registrationId, const WebString& channelName)
+ : endpoint(endpoint)
+ , registrationId(registrationId)
+ , channelName(channelName)
+ {
+ }
+
+ WebString endpoint;
+ WebString registrationId;
+ WebString channelName;
+};
+
+} // namespace blink
+
+#endif // WebPushRegistration_h
« no previous file with comments | « public/platform/WebPushMessagingError.h ('k') | public/web/WebViewClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698