| 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 28 matching lines...) Expand all Loading... |
| 39 return instance; | 39 return instance; |
| 40 } | 40 } |
| 41 | 41 |
| 42 void FetchContext::dispatchDidChangeResourcePriority(unsigned long, | 42 void FetchContext::dispatchDidChangeResourcePriority(unsigned long, |
| 43 ResourceLoadPriority, | 43 ResourceLoadPriority, |
| 44 int) {} | 44 int) {} |
| 45 | 45 |
| 46 void FetchContext::addAdditionalRequestHeaders(ResourceRequest&, | 46 void FetchContext::addAdditionalRequestHeaders(ResourceRequest&, |
| 47 FetchResourceType) {} | 47 FetchResourceType) {} |
| 48 | 48 |
| 49 CachePolicy FetchContext::getCachePolicy() const { | |
| 50 return CachePolicyVerify; | |
| 51 } | |
| 52 | |
| 53 WebCachePolicy FetchContext::resourceRequestCachePolicy( | 49 WebCachePolicy FetchContext::resourceRequestCachePolicy( |
| 54 ResourceRequest&, | 50 ResourceRequest&, |
| 55 Resource::Type, | 51 Resource::Type, |
| 56 FetchRequest::DeferOption defer) const { | 52 FetchRequest::DeferOption defer) const { |
| 57 return WebCachePolicy::UseProtocolCachePolicy; | 53 return WebCachePolicy::UseProtocolCachePolicy; |
| 58 } | 54 } |
| 59 | 55 |
| 60 void FetchContext::dispatchWillSendRequest(unsigned long, | 56 void FetchContext::dispatchWillSendRequest(unsigned long, |
| 61 ResourceRequest&, | 57 ResourceRequest&, |
| 62 const ResourceResponse&, | 58 const ResourceResponse&, |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 FetchContext::LogMessageType) const {} | 103 FetchContext::LogMessageType) const {} |
| 108 | 104 |
| 109 void FetchContext::populateResourceRequest(Resource::Type, | 105 void FetchContext::populateResourceRequest(Resource::Type, |
| 110 const ClientHintsPreferences&, | 106 const ClientHintsPreferences&, |
| 111 const FetchRequest::ResourceWidth&, | 107 const FetchRequest::ResourceWidth&, |
| 112 ResourceRequest&) {} | 108 ResourceRequest&) {} |
| 113 | 109 |
| 114 void FetchContext::setFirstPartyCookieAndRequestorOrigin(ResourceRequest&) {} | 110 void FetchContext::setFirstPartyCookieAndRequestorOrigin(ResourceRequest&) {} |
| 115 | 111 |
| 116 } // namespace blink | 112 } // namespace blink |
| OLD | NEW |