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

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

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 years, 6 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"
11 #include "wtf/RefPtr.h" 10 #include "wtf/RefPtr.h"
12 11
13 namespace blink { 12 namespace blink {
14 13
15 class HTMLLinkElement; 14 class HTMLLinkElement;
16 15
17 class LinkManifest final : public LinkResource { 16 class LinkManifest final : public LinkResource {
18 public: 17 public:
19 18
20 static LinkManifest* create(HTMLLinkElement* owner); 19 static LinkManifest* create(HTMLLinkElement* owner);
21 20
22 ~LinkManifest() override; 21 ~LinkManifest() override;
23 22
24 // LinkResource 23 // LinkResource
25 void process() override; 24 void process() override;
26 LinkResourceType type() const override { return Manifest; } 25 LinkResourceType type() const override { return Manifest; }
27 bool hasLoaded() const override; 26 bool hasLoaded() const override;
28 void ownerRemoved() override; 27 void ownerRemoved() override;
29 28
30 private: 29 private:
31 explicit LinkManifest(HTMLLinkElement* owner); 30 explicit LinkManifest(HTMLLinkElement* owner);
32 }; 31 };
33 32
34 } // namespace blink 33 } // namespace blink
35 34
36 #endif // LinkManifest_h 35 #endif // LinkManifest_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLVideoElementTest.cpp ('k') | third_party/WebKit/Source/core/html/PublicURLManager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698