summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/public/platform/WebPushRegistration.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/public/platform/WebPushRegistration.h')
-rw-r--r--chromium/third_party/WebKit/public/platform/WebPushRegistration.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/chromium/third_party/WebKit/public/platform/WebPushRegistration.h b/chromium/third_party/WebKit/public/platform/WebPushRegistration.h
new file mode 100644
index 00000000000..18b6ce1e08f
--- /dev/null
+++ b/chromium/third_party/WebKit/public/platform/WebPushRegistration.h
@@ -0,0 +1,25 @@
+// 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)
+ : endpoint(endpoint)
+ , registrationId(registrationId)
+ {
+ }
+
+ WebString endpoint;
+ WebString registrationId;
+};
+
+} // namespace blink
+
+#endif // WebPushRegistration_h