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

Side by Side Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerLinkResource.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 ServiceWorkerLinkResource_h 5 #ifndef ServiceWorkerLinkResource_h
6 #define ServiceWorkerLinkResource_h 6 #define ServiceWorkerLinkResource_h
7 7
8 #include "core/html/LinkResource.h" 8 #include "core/html/LinkResource.h"
9 #include "modules/ModulesExport.h" 9 #include "modules/ModulesExport.h"
10 #include "wtf/Allocator.h" 10 #include "platform/wtf/Allocator.h"
11 #include "wtf/RefPtr.h" 11 #include "platform/wtf/RefPtr.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class HTMLLinkElement; 15 class HTMLLinkElement;
16 16
17 class MODULES_EXPORT ServiceWorkerLinkResource final : public LinkResource { 17 class MODULES_EXPORT ServiceWorkerLinkResource final : public LinkResource {
18 public: 18 public:
19 static ServiceWorkerLinkResource* Create(HTMLLinkElement* owner); 19 static ServiceWorkerLinkResource* Create(HTMLLinkElement* owner);
20 20
21 ~ServiceWorkerLinkResource() override; 21 ~ServiceWorkerLinkResource() override;
22 22
23 // LinkResource implementation: 23 // LinkResource implementation:
24 void Process() override; 24 void Process() override;
25 LinkResourceType GetType() const override { return kOther; } 25 LinkResourceType GetType() const override { return kOther; }
26 bool HasLoaded() const override; 26 bool HasLoaded() const override;
27 void OwnerRemoved() override; 27 void OwnerRemoved() override;
28 28
29 private: 29 private:
30 explicit ServiceWorkerLinkResource(HTMLLinkElement* owner); 30 explicit ServiceWorkerLinkResource(HTMLLinkElement* owner);
31 }; 31 };
32 32
33 } // namespace blink 33 } // namespace blink
34 34
35 #endif // ServiceWorkerLinkResource_h 35 #endif // ServiceWorkerLinkResource_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698