| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 | 46 |
| 47 namespace blink { | 47 namespace blink { |
| 48 | 48 |
| 49 class ClientHintsPreferences; | 49 class ClientHintsPreferences; |
| 50 class KURL; | 50 class KURL; |
| 51 class MHTMLArchive; | 51 class MHTMLArchive; |
| 52 class PlatformProbeSink; | 52 class PlatformProbeSink; |
| 53 class ResourceError; | 53 class ResourceError; |
| 54 class ResourceResponse; | 54 class ResourceResponse; |
| 55 class ResourceTimingInfo; | 55 class ResourceTimingInfo; |
| 56 enum class WebCachePolicy; | 56 enum class WebCachePolicy : uint8_t; |
| 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 protected: | 216 protected: |
| 217 FetchContext(); | 217 FetchContext(); |
| 218 | 218 |
| 219 private: | 219 private: |
| 220 Member<PlatformProbeSink> platform_probe_sink_; | 220 Member<PlatformProbeSink> platform_probe_sink_; |
| 221 }; | 221 }; |
| 222 | 222 |
| 223 } // namespace blink | 223 } // namespace blink |
| 224 | 224 |
| 225 #endif | 225 #endif |
| OLD | NEW |