diff options
Diffstat (limited to 'chromium/third_party/WebKit/public/platform/WebPushClient.h')
-rw-r--r-- | chromium/third_party/WebKit/public/platform/WebPushClient.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/chromium/third_party/WebKit/public/platform/WebPushClient.h b/chromium/third_party/WebKit/public/platform/WebPushClient.h new file mode 100644 index 00000000000..134f44591cf --- /dev/null +++ b/chromium/third_party/WebKit/public/platform/WebPushClient.h @@ -0,0 +1,26 @@ +// 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 WebPushClient_h +#define WebPushClient_h + +#include "public/platform/WebCallbacks.h" +#include "public/platform/WebPushError.h" +#include "public/platform/WebString.h" + +namespace blink { + +struct WebPushRegistration; + +typedef WebCallbacks<WebPushRegistration, WebPushError> WebPushRegistrationCallbacks; + +class WebPushClient { +public: + virtual ~WebPushClient() { } + virtual void registerPushMessaging(const WebString& senderId, WebPushRegistrationCallbacks*) = 0; +}; + +} // namespace blink + +#endif // WebPushClient_h |