| 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 24 matching lines...) Expand all Loading... |
| 35 #include "platform/heap/Handle.h" | 35 #include "platform/heap/Handle.h" |
| 36 #include "platform/loader/fetch/FetchInitiatorInfo.h" | 36 #include "platform/loader/fetch/FetchInitiatorInfo.h" |
| 37 #include "platform/loader/fetch/FetchParameters.h" | 37 #include "platform/loader/fetch/FetchParameters.h" |
| 38 #include "platform/loader/fetch/Resource.h" | 38 #include "platform/loader/fetch/Resource.h" |
| 39 #include "platform/loader/fetch/ResourceLoadPriority.h" | 39 #include "platform/loader/fetch/ResourceLoadPriority.h" |
| 40 #include "platform/loader/fetch/ResourceRequest.h" | 40 #include "platform/loader/fetch/ResourceRequest.h" |
| 41 #include "platform/network/ContentSecurityPolicyParsers.h" | 41 #include "platform/network/ContentSecurityPolicyParsers.h" |
| 42 #include "platform/weborigin/SecurityViolationReportingPolicy.h" | 42 #include "platform/weborigin/SecurityViolationReportingPolicy.h" |
| 43 #include "platform/wtf/Forward.h" | 43 #include "platform/wtf/Forward.h" |
| 44 #include "platform/wtf/Noncopyable.h" | 44 #include "platform/wtf/Noncopyable.h" |
| 45 #include "public/platform/WebCachePolicy.h" |
| 45 #include "public/platform/WebURLLoader.h" | 46 #include "public/platform/WebURLLoader.h" |
| 46 | 47 |
| 47 namespace blink { | 48 namespace blink { |
| 48 | 49 |
| 49 class ClientHintsPreferences; | 50 class ClientHintsPreferences; |
| 50 class KURL; | 51 class KURL; |
| 51 class MHTMLArchive; | 52 class MHTMLArchive; |
| 52 class PlatformProbeSink; | 53 class PlatformProbeSink; |
| 53 class ResourceError; | 54 class ResourceError; |
| 54 class ResourceResponse; | 55 class ResourceResponse; |
| 55 class ResourceTimingInfo; | 56 class ResourceTimingInfo; |
| 56 enum class WebCachePolicy; | |
| 57 | 57 |
| 58 enum FetchResourceType { kFetchMainResource, kFetchSubresource }; | 58 enum FetchResourceType { kFetchMainResource, kFetchSubresource }; |
| 59 | 59 |
| 60 // The FetchContext is an interface for performing context specific processing | 60 // The FetchContext is an interface for performing context specific processing |
| 61 // in response to events in the ResourceFetcher. The ResourceFetcher or its job | 61 // in response to events in the ResourceFetcher. The ResourceFetcher or its job |
| 62 // class, ResourceLoader, may call the methods on a FetchContext. | 62 // class, ResourceLoader, may call the methods on a FetchContext. |
| 63 // | 63 // |
| 64 // Any processing that depends on components outside platform/loader/fetch/ | 64 // Any processing that depends on components outside platform/loader/fetch/ |
| 65 // should be implemented on a subclass of this interface, and then exposed to | 65 // should be implemented on a subclass of this interface, and then exposed to |
| 66 // the ResourceFetcher via this interface. | 66 // the ResourceFetcher via this interface. |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 protected: | 221 protected: |
| 222 FetchContext(); | 222 FetchContext(); |
| 223 | 223 |
| 224 private: | 224 private: |
| 225 Member<PlatformProbeSink> platform_probe_sink_; | 225 Member<PlatformProbeSink> platform_probe_sink_; |
| 226 }; | 226 }; |
| 227 | 227 |
| 228 } // namespace blink | 228 } // namespace blink |
| 229 | 229 |
| 230 #endif | 230 #endif |
| OLD | NEW |