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

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

Issue 2550373005: Make WebTaskRunner ThreadSafeRefCounted (Closed)
Patch Set: mac fix Created 4 years 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 146
147 MHTMLArchive* archive() const override; 147 MHTMLArchive* archive() const override;
148 148
149 ResourceLoadPriority modifyPriorityForExperiments( 149 ResourceLoadPriority modifyPriorityForExperiments(
150 ResourceLoadPriority) override; 150 ResourceLoadPriority) override;
151 151
152 void countClientHintsDPR() override; 152 void countClientHintsDPR() override;
153 void countClientHintsResourceWidth() override; 153 void countClientHintsResourceWidth() override;
154 void countClientHintsViewportWidth() override; 154 void countClientHintsViewportWidth() override;
155 155
156 WebTaskRunner* loadingTaskRunner() const override; 156 RefPtr<WebTaskRunner> loadingTaskRunner() const override;
157 157
158 DECLARE_VIRTUAL_TRACE(); 158 DECLARE_VIRTUAL_TRACE();
159 159
160 private: 160 private:
161 FrameFetchContext(DocumentLoader*, Document*); 161 FrameFetchContext(DocumentLoader*, Document*);
162 inline DocumentLoader* masterDocumentLoader() const; 162 inline DocumentLoader* masterDocumentLoader() const;
163 163
164 LocalFrame* frameOfImportsController() const; 164 LocalFrame* frameOfImportsController() const;
165 LocalFrame* frame() const; 165 LocalFrame* frame() const;
166 void printAccessDeniedMessage(const KURL&) const; 166 void printAccessDeniedMessage(const KURL&) const;
(...skipping 18 matching lines...) Expand all
185 // FIXME: Oilpan: Ideally this should just be a traced Member but that will 185 // FIXME: Oilpan: Ideally this should just be a traced Member but that will
186 // currently leak because ComputedStyle and its data are not on the heap. 186 // currently leak because ComputedStyle and its data are not on the heap.
187 // See crbug.com/383860 for details. 187 // See crbug.com/383860 for details.
188 WeakMember<Document> m_document; 188 WeakMember<Document> m_document;
189 Member<DocumentLoader> m_documentLoader; 189 Member<DocumentLoader> m_documentLoader;
190 }; 190 };
191 191
192 } // namespace blink 192 } // namespace blink
193 193
194 #endif 194 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698