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

Side by Side Diff: third_party/WebKit/Source/modules/push_messaging/PushError.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 PushError_h 5 #ifndef PushError_h
6 #define PushError_h 6 #define PushError_h
7 7
8 #include "core/dom/DOMException.h" 8 #include "core/dom/DOMException.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "platform/wtf/Allocator.h"
10 #include "public/platform/modules/push_messaging/WebPushError.h" 11 #include "public/platform/modules/push_messaging/WebPushError.h"
11 #include "wtf/Allocator.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class ScriptPromiseResolver; 15 class ScriptPromiseResolver;
16 16
17 class PushError { 17 class PushError {
18 STATIC_ONLY(PushError); 18 STATIC_ONLY(PushError);
19 19
20 public: 20 public:
21 // For CallbackPromiseAdapter. 21 // For CallbackPromiseAdapter.
22 using WebType = const WebPushError&; 22 using WebType = const WebPushError&;
23 static DOMException* Take(ScriptPromiseResolver*, 23 static DOMException* Take(ScriptPromiseResolver*,
24 const WebPushError& web_error); 24 const WebPushError& web_error);
25 }; 25 };
26 26
27 } // namespace blink 27 } // namespace blink
28 28
29 #endif // PushError_h 29 #endif // PushError_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698