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

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

Issue 2550373005: Make WebTaskRunner ThreadSafeRefCounted (Closed)
Patch Set: +DISALLOW_COPY_AND_ASSIGN for win build fix Created 3 years, 11 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) 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 void modifyRequestForCSP(ResourceRequest&) override; 148 void modifyRequestForCSP(ResourceRequest&) override;
149 void addClientHintsIfNecessary(FetchRequest&) override; 149 void addClientHintsIfNecessary(FetchRequest&) override;
150 void addCSPHeaderIfNecessary(Resource::Type, FetchRequest&) override; 150 void addCSPHeaderIfNecessary(Resource::Type, FetchRequest&) override;
151 void populateRequestData(ResourceRequest&) override; 151 void populateRequestData(ResourceRequest&) override;
152 152
153 MHTMLArchive* archive() const override; 153 MHTMLArchive* archive() const override;
154 154
155 ResourceLoadPriority modifyPriorityForExperiments( 155 ResourceLoadPriority modifyPriorityForExperiments(
156 ResourceLoadPriority) override; 156 ResourceLoadPriority) override;
157 157
158 WebTaskRunner* loadingTaskRunner() const override; 158 RefPtr<WebTaskRunner> loadingTaskRunner() const override;
159 159
160 DECLARE_VIRTUAL_TRACE(); 160 DECLARE_VIRTUAL_TRACE();
161 161
162 private: 162 private:
163 FrameFetchContext(DocumentLoader*, Document*); 163 FrameFetchContext(DocumentLoader*, Document*);
164 inline DocumentLoader* masterDocumentLoader() const; 164 inline DocumentLoader* masterDocumentLoader() const;
165 165
166 LocalFrame* frameOfImportsController() const; 166 LocalFrame* frameOfImportsController() const;
167 LocalFrame* frame() const; 167 LocalFrame* frame() const;
168 void printAccessDeniedMessage(const KURL&) const; 168 void printAccessDeniedMessage(const KURL&) const;
(...skipping 18 matching lines...) Expand all
187 // FIXME: Oilpan: Ideally this should just be a traced Member but that will 187 // FIXME: Oilpan: Ideally this should just be a traced Member but that will
188 // currently leak because ComputedStyle and its data are not on the heap. 188 // currently leak because ComputedStyle and its data are not on the heap.
189 // See crbug.com/383860 for details. 189 // See crbug.com/383860 for details.
190 WeakMember<Document> m_document; 190 WeakMember<Document> m_document;
191 Member<DocumentLoader> m_documentLoader; 191 Member<DocumentLoader> m_documentLoader;
192 }; 192 };
193 193
194 } // namespace blink 194 } // namespace blink
195 195
196 #endif 196 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/EmptyClients.cpp ('k') | third_party/WebKit/Source/core/loader/FrameFetchContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698