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

Side by Side Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClient.h

Issue 2466383004: blink: Cleanup class forward declarations (Closed)
Patch Set: Created 4 years, 1 month 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 ServiceWorkerClient_h 5 #ifndef ServiceWorkerClient_h
6 #define ServiceWorkerClient_h 6 #define ServiceWorkerClient_h
7 7
8 #include "bindings/core/v8/ScriptPromise.h" 8 #include "bindings/core/v8/ScriptPromise.h"
9 #include "bindings/core/v8/ScriptWrappable.h" 9 #include "bindings/core/v8/ScriptWrappable.h"
10 #include "bindings/core/v8/SerializedScriptValue.h" 10 #include "bindings/core/v8/SerializedScriptValue.h"
11 #include "modules/ModulesExport.h" 11 #include "modules/ModulesExport.h"
12 #include "platform/heap/Handle.h" 12 #include "platform/heap/Handle.h"
13 #include "public/platform/modules/serviceworker/WebServiceWorkerClientsInfo.h" 13 #include "public/platform/modules/serviceworker/WebServiceWorkerClientsInfo.h"
14 #include "wtf/Forward.h" 14 #include "wtf/Forward.h"
15 #include <memory> 15 #include <memory>
16 16
17 namespace blink { 17 namespace blink {
18 18
19 class ExecutionContext; 19 class ExecutionContext;
20 class ScriptPromiseResolver; 20 class ScriptPromiseResolver;
21 class ScriptState;
22 21
23 class MODULES_EXPORT ServiceWorkerClient 22 class MODULES_EXPORT ServiceWorkerClient
24 : public GarbageCollectedFinalized<ServiceWorkerClient>, 23 : public GarbageCollectedFinalized<ServiceWorkerClient>,
25 public ScriptWrappable { 24 public ScriptWrappable {
26 DEFINE_WRAPPERTYPEINFO(); 25 DEFINE_WRAPPERTYPEINFO();
27 26
28 public: 27 public:
29 // To be used by CallbackPromiseAdapter. 28 // To be used by CallbackPromiseAdapter.
30 using WebType = std::unique_ptr<WebServiceWorkerClientInfo>; 29 using WebType = std::unique_ptr<WebServiceWorkerClientInfo>;
31 30
(...skipping 23 matching lines...) Expand all
55 54
56 private: 55 private:
57 String m_uuid; 56 String m_uuid;
58 String m_url; 57 String m_url;
59 WebURLRequest::FrameType m_frameType; 58 WebURLRequest::FrameType m_frameType;
60 }; 59 };
61 60
62 } // namespace blink 61 } // namespace blink
63 62
64 #endif // ServiceWorkerClient_h 63 #endif // ServiceWorkerClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698