| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 // FIXME: Oilpan: Ideally this should just be a traced Member but that will | 208 // FIXME: Oilpan: Ideally this should just be a traced Member but that will |
| 210 // currently leak because ComputedStyle and its data are not on the heap. | 209 // currently leak because ComputedStyle and its data are not on the heap. |
| 211 // See crbug.com/383860 for details. | 210 // See crbug.com/383860 for details. |
| 212 WeakMember<Document> m_document; | 211 WeakMember<Document> m_document; |
| 213 Member<DocumentLoader> m_documentLoader; | 212 Member<DocumentLoader> m_documentLoader; |
| 214 }; | 213 }; |
| 215 | 214 |
| 216 } // namespace blink | 215 } // namespace blink |
| 217 | 216 |
| 218 #endif | 217 #endif |
| OLD | NEW |