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

Side by Side Diff: third_party/WebKit/Source/core/html/LinkManifest.h

Issue 1740483004: Rename enums/functions that collide in chromium style in core/html/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-5
Patch Set: get-names-6: . Created 4 years, 9 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 LinkManifest_h 5 #ifndef LinkManifest_h
6 #define LinkManifest_h 6 #define LinkManifest_h
7 7
8 #include "core/html/LinkResource.h" 8 #include "core/html/LinkResource.h"
9 #include "wtf/Allocator.h" 9 #include "wtf/Allocator.h"
10 #include "wtf/PassOwnPtr.h" 10 #include "wtf/PassOwnPtr.h"
11 #include "wtf/RefPtr.h" 11 #include "wtf/RefPtr.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class HTMLLinkElement; 15 class HTMLLinkElement;
16 16
17 class LinkManifest final : public LinkResource { 17 class LinkManifest final : public LinkResource {
18 USING_FAST_MALLOC_WILL_BE_REMOVED(LinkManifest); 18 USING_FAST_MALLOC_WILL_BE_REMOVED(LinkManifest);
19 public: 19 public:
20 20
21 static PassOwnPtrWillBeRawPtr<LinkManifest> create(HTMLLinkElement* owner); 21 static PassOwnPtrWillBeRawPtr<LinkManifest> create(HTMLLinkElement* owner);
22 22
23 ~LinkManifest() override; 23 ~LinkManifest() override;
24 24
25 // LinkResource 25 // LinkResource
26 void process() override; 26 void process() override;
27 Type type() const override { return Manifest; } 27 LinkResourceType type() const override { return Manifest; }
28 bool hasLoaded() const override; 28 bool hasLoaded() const override;
29 void ownerRemoved() override; 29 void ownerRemoved() override;
30 30
31 private: 31 private:
32 explicit LinkManifest(HTMLLinkElement* owner); 32 explicit LinkManifest(HTMLLinkElement* owner);
33 }; 33 };
34 34
35 } // namespace blink 35 } // namespace blink
36 36
37 #endif // LinkManifest_h 37 #endif // LinkManifest_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLVideoElementTest.cpp ('k') | third_party/WebKit/Source/core/html/LinkRelAttribute.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698