| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 return CachePolicyVerify; | 50 return CachePolicyVerify; |
| 51 } | 51 } |
| 52 | 52 |
| 53 WebCachePolicy FetchContext::resourceRequestCachePolicy( | 53 WebCachePolicy FetchContext::resourceRequestCachePolicy( |
| 54 ResourceRequest&, | 54 ResourceRequest&, |
| 55 Resource::Type, | 55 Resource::Type, |
| 56 FetchRequest::DeferOption defer) const { | 56 FetchRequest::DeferOption defer) const { |
| 57 return WebCachePolicy::UseProtocolCachePolicy; | 57 return WebCachePolicy::UseProtocolCachePolicy; |
| 58 } | 58 } |
| 59 | 59 |
| 60 void FetchContext::prepareRequest(ResourceRequest&, RedirectType) {} |
| 61 |
| 60 void FetchContext::dispatchWillSendRequest(unsigned long, | 62 void FetchContext::dispatchWillSendRequest(unsigned long, |
| 61 ResourceRequest&, | 63 ResourceRequest&, |
| 62 const ResourceResponse&, | 64 const ResourceResponse&, |
| 63 const FetchInitiatorInfo&) {} | 65 const FetchInitiatorInfo&) {} |
| 64 | 66 |
| 65 void FetchContext::dispatchDidLoadResourceFromMemoryCache( | 67 void FetchContext::dispatchDidLoadResourceFromMemoryCache( |
| 66 unsigned long, | 68 unsigned long, |
| 67 Resource*, | 69 Resource*, |
| 68 WebURLRequest::FrameType, | 70 WebURLRequest::FrameType, |
| 69 WebURLRequest::RequestContext) {} | 71 WebURLRequest::RequestContext) {} |
| (...skipping 13 matching lines...) Expand all Loading... |
| 83 void FetchContext::dispatchDidFinishLoading(unsigned long, | 85 void FetchContext::dispatchDidFinishLoading(unsigned long, |
| 84 double, | 86 double, |
| 85 int64_t, | 87 int64_t, |
| 86 int64_t) {} | 88 int64_t) {} |
| 87 | 89 |
| 88 void FetchContext::dispatchDidFail(unsigned long, | 90 void FetchContext::dispatchDidFail(unsigned long, |
| 89 const ResourceError&, | 91 const ResourceError&, |
| 90 int64_t, | 92 int64_t, |
| 91 bool) {} | 93 bool) {} |
| 92 | 94 |
| 93 void FetchContext::willStartLoadingResource( | 95 void FetchContext::recordLoadingActivity( |
| 94 unsigned long, | 96 unsigned long, |
| 95 ResourceRequest&, | 97 const ResourceRequest&, |
| 96 Resource::Type, | 98 Resource::Type, |
| 97 const AtomicString& fetchInitiatorName, | 99 const AtomicString& fetchInitiatorName) {} |
| 98 V8ActivityLoggingPolicy) {} | |
| 99 | 100 |
| 100 void FetchContext::didLoadResource(Resource*) {} | 101 void FetchContext::didLoadResource(Resource*) {} |
| 101 | 102 |
| 102 void FetchContext::addResourceTiming(const ResourceTimingInfo&) {} | 103 void FetchContext::addResourceTiming(const ResourceTimingInfo&) {} |
| 103 | 104 |
| 104 void FetchContext::sendImagePing(const KURL&) {} | 105 void FetchContext::sendImagePing(const KURL&) {} |
| 105 | 106 |
| 106 void FetchContext::addConsoleMessage(const String&, | 107 void FetchContext::addConsoleMessage(const String&, |
| 107 FetchContext::LogMessageType) const {} | 108 FetchContext::LogMessageType) const {} |
| 108 | 109 |
| 109 void FetchContext::populateResourceRequest(Resource::Type, | 110 void FetchContext::populateResourceRequest(Resource::Type, |
| 110 const ClientHintsPreferences&, | 111 const ClientHintsPreferences&, |
| 111 const FetchRequest::ResourceWidth&, | 112 const FetchRequest::ResourceWidth&, |
| 112 ResourceRequest&) {} | 113 ResourceRequest&) {} |
| 113 | 114 |
| 114 void FetchContext::setFirstPartyCookieAndRequestorOrigin(ResourceRequest&) {} | 115 void FetchContext::setFirstPartyCookieAndRequestorOrigin(ResourceRequest&) {} |
| 115 | 116 |
| 116 } // namespace blink | 117 } // namespace blink |
| OLD | NEW |