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

Side by Side Diff: third_party/WebKit/Source/core/loader/LinkLoader.h

Issue 1853743005: Oilpan: Remove WillBe types (part 13) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 namespace blink { 46 namespace blink {
47 47
48 class Document; 48 class Document;
49 class LinkRelAttribute; 49 class LinkRelAttribute;
50 class NetworkHintsInterface; 50 class NetworkHintsInterface;
51 class PrerenderHandle; 51 class PrerenderHandle;
52 struct ViewportDescriptionWrapper; 52 struct ViewportDescriptionWrapper;
53 53
54 // The LinkLoader can load link rel types icon, dns-prefetch, subresource, prefe tch and prerender. 54 // The LinkLoader can load link rel types icon, dns-prefetch, subresource, prefe tch and prerender.
55 class CORE_EXPORT LinkLoader final : public NoBaseWillBeGarbageCollectedFinalize d<LinkLoader>, public ResourceOwner<Resource, ResourceClient>, public PrerenderC lient { 55 class CORE_EXPORT LinkLoader final : public GarbageCollectedFinalized<LinkLoader >, public ResourceOwner<Resource, ResourceClient>, public PrerenderClient {
56 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(LinkLoader); 56 USING_GARBAGE_COLLECTED_MIXIN(LinkLoader);
57 public: 57 public:
58 static PassOwnPtrWillBeRawPtr<LinkLoader> create(LinkLoaderClient* client) 58 static RawPtr<LinkLoader> create(LinkLoaderClient* client)
59 { 59 {
60 return adoptPtrWillBeNoop(new LinkLoader(client)); 60 return new LinkLoader(client);
61 } 61 }
62 ~LinkLoader() override; 62 ~LinkLoader() override;
63 63
64 // from ResourceClient 64 // from ResourceClient
65 void notifyFinished(Resource*) override; 65 void notifyFinished(Resource*) override;
66 String debugName() const override { return "LinkLoader"; } 66 String debugName() const override { return "LinkLoader"; }
67 67
68 // from PrerenderClient 68 // from PrerenderClient
69 void didStartPrerender() override; 69 void didStartPrerender() override;
70 void didStopPrerender() override; 70 void didStopPrerender() override;
(...skipping 10 matching lines...) Expand all
81 81
82 DECLARE_TRACE(); 82 DECLARE_TRACE();
83 83
84 private: 84 private:
85 explicit LinkLoader(LinkLoaderClient*); 85 explicit LinkLoader(LinkLoaderClient*);
86 86
87 void linkLoadTimerFired(Timer<LinkLoader>*); 87 void linkLoadTimerFired(Timer<LinkLoader>*);
88 void linkLoadingErrorTimerFired(Timer<LinkLoader>*); 88 void linkLoadingErrorTimerFired(Timer<LinkLoader>*);
89 void createLinkPreloadResourceClient(Resource*); 89 void createLinkPreloadResourceClient(Resource*);
90 90
91 RawPtrWillBeMember<LinkLoaderClient> m_client; 91 Member<LinkLoaderClient> m_client;
92 92
93 Timer<LinkLoader> m_linkLoadTimer; 93 Timer<LinkLoader> m_linkLoadTimer;
94 Timer<LinkLoader> m_linkLoadingErrorTimer; 94 Timer<LinkLoader> m_linkLoadingErrorTimer;
95 95
96 OwnPtrWillBeMember<PrerenderHandle> m_prerender; 96 Member<PrerenderHandle> m_prerender;
97 OwnPtrWillBeMember<LinkPreloadResourceClient> m_linkPreloadResourceClient; 97 Member<LinkPreloadResourceClient> m_linkPreloadResourceClient;
98 }; 98 };
99 99
100 } // namespace blink 100 } // namespace blink
101 101
102 #endif 102 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698