OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google, Inc. All rights reserved. | 2 * Copyright (C) 2012 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 25 matching lines...) Expand all Loading... |
36 #include "platform/network/ResourceRequest.h" | 36 #include "platform/network/ResourceRequest.h" |
37 #include "wtf/Allocator.h" | 37 #include "wtf/Allocator.h" |
38 #include "wtf/text/AtomicString.h" | 38 #include "wtf/text/AtomicString.h" |
39 | 39 |
40 namespace blink { | 40 namespace blink { |
41 class SecurityOrigin; | 41 class SecurityOrigin; |
42 | 42 |
43 class CORE_EXPORT FetchRequest { | 43 class CORE_EXPORT FetchRequest { |
44 STACK_ALLOCATED(); | 44 STACK_ALLOCATED(); |
45 public: | 45 public: |
46 enum DeferOption { NoDefer, LazyLoad, DeferredByClient }; | 46 enum DeferOption { NoDefer, LazyLoad }; |
47 enum OriginRestriction { UseDefaultOriginRestrictionForType, RestrictToSameO
rigin, NoOriginRestriction }; | 47 enum OriginRestriction { UseDefaultOriginRestrictionForType, RestrictToSameO
rigin, NoOriginRestriction }; |
48 | 48 |
49 struct ResourceWidth { | 49 struct ResourceWidth { |
50 DISALLOW_NEW(); | 50 DISALLOW_NEW(); |
51 float width; | 51 float width; |
52 bool isSet; | 52 bool isSet; |
53 | 53 |
54 ResourceWidth() | 54 ResourceWidth() |
55 : width(0) | 55 : width(0) |
56 , isSet(false) | 56 , isSet(false) |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 DeferOption m_defer; | 107 DeferOption m_defer; |
108 OriginRestriction m_originRestriction; | 108 OriginRestriction m_originRestriction; |
109 ResourceWidth m_resourceWidth; | 109 ResourceWidth m_resourceWidth; |
110 ClientHintsPreferences m_clientHintPreferences; | 110 ClientHintsPreferences m_clientHintPreferences; |
111 IntegrityMetadataSet m_integrityMetadata; | 111 IntegrityMetadataSet m_integrityMetadata; |
112 }; | 112 }; |
113 | 113 |
114 } // namespace blink | 114 } // namespace blink |
115 | 115 |
116 #endif | 116 #endif |
OLD | NEW |