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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 ~FetchRequest(); | 59 ~FetchRequest(); |
60 | 60 |
61 ResourceRequest& mutableResourceRequest() { return m_resourceRequest; } | 61 ResourceRequest& mutableResourceRequest() { return m_resourceRequest; } |
62 const ResourceRequest& resourceRequest() const { return m_resourceRequest; } | 62 const ResourceRequest& resourceRequest() const { return m_resourceRequest; } |
63 const KURL& url() const { return m_resourceRequest.url(); } | 63 const KURL& url() const { return m_resourceRequest.url(); } |
64 const String& charset() const { return m_charset; } | 64 const String& charset() const { return m_charset; } |
65 void setCharset(const String& charset) { m_charset = charset; } | 65 void setCharset(const String& charset) { m_charset = charset; } |
66 const ResourceLoaderOptions& options() const { return m_options; } | 66 const ResourceLoaderOptions& options() const { return m_options; } |
67 void setOptions(const ResourceLoaderOptions& options) { m_options = options;
} | 67 void setOptions(const ResourceLoaderOptions& options) { m_options = options;
} |
68 ResourceLoadPriority priority() const { return m_priority; } | 68 ResourceLoadPriority priority() const { return m_priority; } |
| 69 void setPriority(ResourceLoadPriority priority) { m_priority = priority; } |
69 bool forPreload() const { return m_forPreload; } | 70 bool forPreload() const { return m_forPreload; } |
70 void setForPreload(bool forPreload) { m_forPreload = forPreload; } | 71 void setForPreload(bool forPreload) { m_forPreload = forPreload; } |
71 DeferOption defer() const { return m_defer; } | 72 DeferOption defer() const { return m_defer; } |
72 ResourceWidth resourceWidth() const { return m_resourceWidth; } | 73 ResourceWidth resourceWidth() const { return m_resourceWidth; } |
73 const ClientHintsPreferences& clientHintsPreferences() const { return m_clie
ntHintPreferences; } | 74 const ClientHintsPreferences& clientHintsPreferences() const { return m_clie
ntHintPreferences; } |
74 void setDefer(DeferOption defer) { m_defer = defer; } | 75 void setDefer(DeferOption defer) { m_defer = defer; } |
75 void setContentSecurityCheck(ContentSecurityPolicyDisposition contentSecurit
yPolicyOption) { m_options.contentSecurityPolicyOption = contentSecurityPolicyOp
tion; } | 76 void setContentSecurityCheck(ContentSecurityPolicyDisposition contentSecurit
yPolicyOption) { m_options.contentSecurityPolicyOption = contentSecurityPolicyOp
tion; } |
76 void setCrossOriginAccessControl(SecurityOrigin*, StoredCredentials, Credent
ialRequest); | 77 void setCrossOriginAccessControl(SecurityOrigin*, StoredCredentials, Credent
ialRequest); |
77 void setCrossOriginAccessControl(SecurityOrigin*, StoredCredentials); | 78 void setCrossOriginAccessControl(SecurityOrigin*, StoredCredentials); |
78 void setCrossOriginAccessControl(SecurityOrigin*, const AtomicString& crossO
riginMode); | 79 void setCrossOriginAccessControl(SecurityOrigin*, const AtomicString& crossO
riginMode); |
(...skipping 10 matching lines...) Expand all Loading... |
89 bool m_forPreload; | 90 bool m_forPreload; |
90 DeferOption m_defer; | 91 DeferOption m_defer; |
91 OriginRestriction m_originRestriction; | 92 OriginRestriction m_originRestriction; |
92 ResourceWidth m_resourceWidth; | 93 ResourceWidth m_resourceWidth; |
93 ClientHintsPreferences m_clientHintPreferences; | 94 ClientHintsPreferences m_clientHintPreferences; |
94 }; | 95 }; |
95 | 96 |
96 } // namespace blink | 97 } // namespace blink |
97 | 98 |
98 #endif | 99 #endif |
OLD | NEW |