| Index: public/platform/WebPushClient.h
|
| diff --git a/public/platform/WebPushClient.h b/public/platform/WebPushClient.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..cf3462c2f32a9fb235387db5c73d77039dd2291e
|
| --- /dev/null
|
| +++ b/public/platform/WebPushClient.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 WebPushClient_h
|
| +#define WebPushClient_h
|
| +
|
| +#include "WebString.h"
|
| +#include "public/platform/WebCallbacks.h"
|
| +#include "public/platform/WebPushMessagingError.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class WebPushRegistration;
|
| +
|
| +typedef WebCallbacks<WebPushRegistration, WebPushMessagingError> WebPushRegistrationCallbacks;
|
| +
|
| +class WebPushClient {
|
| +public:
|
| + virtual void registerPushMessaging(const WebString& channelId, WebPushRegistrationCallbacks*) = 0;
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // WebPushClient_h
|
|
|