| 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 28 matching lines...) Expand all Loading... |
| 39 namespace blink { | 39 namespace blink { |
| 40 class SecurityOrigin; | 40 class SecurityOrigin; |
| 41 | 41 |
| 42 class CORE_EXPORT FetchRequest { | 42 class CORE_EXPORT FetchRequest { |
| 43 STACK_ALLOCATED(); | 43 STACK_ALLOCATED(); |
| 44 public: | 44 public: |
| 45 enum DeferOption { NoDefer, LazyLoad, DeferredByClient }; | 45 enum DeferOption { NoDefer, LazyLoad, DeferredByClient }; |
| 46 enum OriginRestriction { UseDefaultOriginRestrictionForType, RestrictToSameO
rigin, NoOriginRestriction }; | 46 enum OriginRestriction { UseDefaultOriginRestrictionForType, RestrictToSameO
rigin, NoOriginRestriction }; |
| 47 | 47 |
| 48 struct ResourceWidth { | 48 struct ResourceWidth { |
| 49 DISALLOW_ALLOCATION(); | 49 DISALLOW_NEW(); |
| 50 float width; | 50 float width; |
| 51 bool isSet; | 51 bool isSet; |
| 52 | 52 |
| 53 ResourceWidth() | 53 ResourceWidth() |
| 54 : width(0) | 54 : width(0) |
| 55 , isSet(false) | 55 , isSet(false) |
| 56 { | 56 { |
| 57 } | 57 } |
| 58 }; | 58 }; |
| 59 | 59 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 DeferOption m_defer; | 104 DeferOption m_defer; |
| 105 OriginRestriction m_originRestriction; | 105 OriginRestriction m_originRestriction; |
| 106 ResourceWidth m_resourceWidth; | 106 ResourceWidth m_resourceWidth; |
| 107 ClientHintsPreferences m_clientHintPreferences; | 107 ClientHintsPreferences m_clientHintPreferences; |
| 108 IntegrityMetadataSet m_integrityMetadata; | 108 IntegrityMetadataSet m_integrityMetadata; |
| 109 }; | 109 }; |
| 110 | 110 |
| 111 } // namespace blink | 111 } // namespace blink |
| 112 | 112 |
| 113 #endif | 113 #endif |
| OLD | NEW |