Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(517)

Side by Side Diff: third_party/WebKit/Source/core/fetch/FetchRequest.h

Issue 1738623004: Rename enums/functions that collide in chromium style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-4
Patch Set: get-names-5: rebase-and-stuff Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 const ResourceLoaderOptions& options() const { return m_options; } 73 const ResourceLoaderOptions& options() const { return m_options; }
74 void setOptions(const ResourceLoaderOptions& options) { m_options = options; } 74 void setOptions(const ResourceLoaderOptions& options) { m_options = options; }
75 75
76 ResourceLoadPriority priority() const { return m_priority; } 76 ResourceLoadPriority priority() const { return m_priority; }
77 void setPriority(ResourceLoadPriority priority) { m_priority = priority; } 77 void setPriority(ResourceLoadPriority priority) { m_priority = priority; }
78 78
79 DeferOption defer() const { return m_defer; } 79 DeferOption defer() const { return m_defer; }
80 void setDefer(DeferOption defer) { m_defer = defer; } 80 void setDefer(DeferOption defer) { m_defer = defer; }
81 81
82 ResourceWidth resourceWidth() const { return m_resourceWidth; } 82 ResourceWidth getResourceWidth() const { return m_resourceWidth; }
83 void setResourceWidth(ResourceWidth); 83 void setResourceWidth(ResourceWidth);
84 84
85 ClientHintsPreferences& clientHintsPreferences() { return m_clientHintPrefer ences; } 85 ClientHintsPreferences& clientHintsPreferences() { return m_clientHintPrefer ences; }
86 86
87 bool forPreload() const { return m_forPreload; } 87 bool forPreload() const { return m_forPreload; }
88 void setForPreload(bool forPreload) { m_forPreload = forPreload; } 88 void setForPreload(bool forPreload) { m_forPreload = forPreload; }
89 89
90 bool isLinkPreload() { return m_linkPreload; } 90 bool isLinkPreload() { return m_linkPreload; }
91 void setLinkPreload(bool isLinkPreload) { m_linkPreload = isLinkPreload; } 91 void setLinkPreload(bool isLinkPreload) { m_linkPreload = isLinkPreload; }
92 92
93 void setContentSecurityCheck(ContentSecurityPolicyDisposition contentSecurit yPolicyOption) { m_options.contentSecurityPolicyOption = contentSecurityPolicyOp tion; } 93 void setContentSecurityCheck(ContentSecurityPolicyDisposition contentSecurit yPolicyOption) { m_options.contentSecurityPolicyOption = contentSecurityPolicyOp tion; }
94 void setCrossOriginAccessControl(SecurityOrigin*, CrossOriginAttributeValue) ; 94 void setCrossOriginAccessControl(SecurityOrigin*, CrossOriginAttributeValue) ;
95 OriginRestriction originRestriction() const { return m_originRestriction; } 95 OriginRestriction getOriginRestriction() const { return m_originRestriction; }
96 void setOriginRestriction(OriginRestriction restriction) { m_originRestricti on = restriction; } 96 void setOriginRestriction(OriginRestriction restriction) { m_originRestricti on = restriction; }
97 const IntegrityMetadataSet& integrityMetadata() const { return m_integrityMe tadata; } 97 const IntegrityMetadataSet& integrityMetadata() const { return m_integrityMe tadata; }
98 void setIntegrityMetadata(const IntegrityMetadataSet& metadata) { m_integrit yMetadata = metadata; } 98 void setIntegrityMetadata(const IntegrityMetadataSet& metadata) { m_integrit yMetadata = metadata; }
99 99
100 private: 100 private:
101 ResourceRequest m_resourceRequest; 101 ResourceRequest m_resourceRequest;
102 String m_charset; 102 String m_charset;
103 ResourceLoaderOptions m_options; 103 ResourceLoaderOptions m_options;
104 ResourceLoadPriority m_priority; 104 ResourceLoadPriority m_priority;
105 bool m_forPreload; 105 bool m_forPreload;
106 bool m_linkPreload; 106 bool m_linkPreload;
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/fetch/FetchContext.cpp ('k') | third_party/WebKit/Source/core/fetch/FontResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698