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

Side by Side Diff: third_party/WebKit/Source/modules/push_messaging/PushSubscriptionCallbacks.h

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PushSubscriptionCallbacks_h 5 #ifndef PushSubscriptionCallbacks_h
6 #define PushSubscriptionCallbacks_h 6 #define PushSubscriptionCallbacks_h
7 7
8 #include "platform/heap/Handle.h" 8 #include "platform/heap/Handle.h"
9 #include "platform/wtf/Noncopyable.h"
9 #include "public/platform/modules/push_messaging/WebPushProvider.h" 10 #include "public/platform/modules/push_messaging/WebPushProvider.h"
10 #include "wtf/Noncopyable.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class ServiceWorkerRegistration; 14 class ServiceWorkerRegistration;
15 class ScriptPromiseResolver; 15 class ScriptPromiseResolver;
16 struct WebPushError; 16 struct WebPushError;
17 struct WebPushSubscription; 17 struct WebPushSubscription;
18 18
19 // This class is an implementation of WebPushSubscriptionCallbacks that will 19 // This class is an implementation of WebPushSubscriptionCallbacks that will
20 // resolve the underlying promise depending on the result passed to the 20 // resolve the underlying promise depending on the result passed to the
(...skipping 12 matching lines...) Expand all
33 void OnError(const WebPushError&) override; 33 void OnError(const WebPushError&) override;
34 34
35 private: 35 private:
36 Persistent<ScriptPromiseResolver> resolver_; 36 Persistent<ScriptPromiseResolver> resolver_;
37 Persistent<ServiceWorkerRegistration> service_worker_registration_; 37 Persistent<ServiceWorkerRegistration> service_worker_registration_;
38 }; 38 };
39 39
40 } // namespace blink 40 } // namespace blink
41 41
42 #endif // PushSubscriptionCallbacks_h 42 #endif // PushSubscriptionCallbacks_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698