OLD | NEW |
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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 CHECK(context.isLiveContext()); | 67 CHECK(context.isLiveContext()); |
68 static_cast<FrameFetchContext&>(context).m_document = document; | 68 static_cast<FrameFetchContext&>(context).m_document = document; |
69 } | 69 } |
70 | 70 |
71 ~FrameFetchContext(); | 71 ~FrameFetchContext(); |
72 | 72 |
73 bool isLiveContext() { return true; } | 73 bool isLiveContext() { return true; } |
74 | 74 |
75 void addAdditionalRequestHeaders(ResourceRequest&, | 75 void addAdditionalRequestHeaders(ResourceRequest&, |
76 FetchResourceType) override; | 76 FetchResourceType) override; |
77 CachePolicy getCachePolicy() const override; | |
78 WebCachePolicy resourceRequestCachePolicy( | 77 WebCachePolicy resourceRequestCachePolicy( |
79 ResourceRequest&, | 78 ResourceRequest&, |
80 Resource::Type, | 79 Resource::Type, |
81 FetchRequest::DeferOption) const override; | 80 FetchRequest::DeferOption) const override; |
82 void dispatchDidChangeResourcePriority(unsigned long identifier, | 81 void dispatchDidChangeResourcePriority(unsigned long identifier, |
83 ResourceLoadPriority, | 82 ResourceLoadPriority, |
84 int intraPriorityValue) override; | 83 int intraPriorityValue) override; |
85 void dispatchWillSendRequest( | 84 void dispatchWillSendRequest( |
86 unsigned long identifier, | 85 unsigned long identifier, |
87 ResourceRequest&, | 86 ResourceRequest&, |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 // FIXME: Oilpan: Ideally this should just be a traced Member but that will | 203 // FIXME: Oilpan: Ideally this should just be a traced Member but that will |
205 // currently leak because ComputedStyle and its data are not on the heap. | 204 // currently leak because ComputedStyle and its data are not on the heap. |
206 // See crbug.com/383860 for details. | 205 // See crbug.com/383860 for details. |
207 WeakMember<Document> m_document; | 206 WeakMember<Document> m_document; |
208 Member<DocumentLoader> m_documentLoader; | 207 Member<DocumentLoader> m_documentLoader; |
209 }; | 208 }; |
210 | 209 |
211 } // namespace blink | 210 } // namespace blink |
212 | 211 |
213 #endif | 212 #endif |
OLD | NEW |