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

Side by Side Diff: third_party/WebKit/Source/platform/network/ResourceRequest.h

Issue 1746283002: Rename enums/functions that collide in chromium style in platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: get-names-13-platform: . Created 4 years, 9 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) 2003, 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. 4 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 void setHTTPHeaderField(const AtomicString& name, const AtomicString& value) ; 122 void setHTTPHeaderField(const AtomicString& name, const AtomicString& value) ;
123 void addHTTPHeaderField(const AtomicString& name, const AtomicString& value) ; 123 void addHTTPHeaderField(const AtomicString& name, const AtomicString& value) ;
124 void addHTTPHeaderFields(const HTTPHeaderMap& headerFields); 124 void addHTTPHeaderFields(const HTTPHeaderMap& headerFields);
125 void clearHTTPHeaderField(const AtomicString& name); 125 void clearHTTPHeaderField(const AtomicString& name);
126 126
127 const AtomicString& httpContentType() const { return httpHeaderField(HTTPNam es::Content_Type); } 127 const AtomicString& httpContentType() const { return httpHeaderField(HTTPNam es::Content_Type); }
128 void setHTTPContentType(const AtomicString& httpContentType) { setHTTPHeader Field(HTTPNames::Content_Type, httpContentType); } 128 void setHTTPContentType(const AtomicString& httpContentType) { setHTTPHeader Field(HTTPNames::Content_Type, httpContentType); }
129 129
130 bool didSetHTTPReferrer() const { return m_didSetHTTPReferrer; } 130 bool didSetHTTPReferrer() const { return m_didSetHTTPReferrer; }
131 const AtomicString& httpReferrer() const { return httpHeaderField(HTTPNames: :Referer); } 131 const AtomicString& httpReferrer() const { return httpHeaderField(HTTPNames: :Referer); }
132 ReferrerPolicy referrerPolicy() const { return m_referrerPolicy; } 132 ReferrerPolicy getReferrerPolicy() const { return m_referrerPolicy; }
133 void setHTTPReferrer(const Referrer&); 133 void setHTTPReferrer(const Referrer&);
134 void clearHTTPReferrer(); 134 void clearHTTPReferrer();
135 135
136 const AtomicString& httpOrigin() const { return httpHeaderField(HTTPNames::O rigin); } 136 const AtomicString& httpOrigin() const { return httpHeaderField(HTTPNames::O rigin); }
137 const AtomicString& httpSuborigin() const { return httpHeaderField(HTTPNames ::Suborigin); } 137 const AtomicString& httpSuborigin() const { return httpHeaderField(HTTPNames ::Suborigin); }
138 // Note that these will also set and clear, respectively, the 138 // Note that these will also set and clear, respectively, the
139 // Suborigin header, if appropriate. 139 // Suborigin header, if appropriate.
140 void setHTTPOrigin(PassRefPtr<SecurityOrigin>); 140 void setHTTPOrigin(PassRefPtr<SecurityOrigin>);
141 void clearHTTPOrigin(); 141 void clearHTTPOrigin();
142 void addHTTPOriginIfNeeded(PassRefPtr<SecurityOrigin>); 142 void addHTTPOriginIfNeeded(PassRefPtr<SecurityOrigin>);
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 bool m_checkForBrowserSideNavigation; 336 bool m_checkForBrowserSideNavigation;
337 double m_uiStartTime; 337 double m_uiStartTime;
338 bool m_originatesFromReservedIPRange; 338 bool m_originatesFromReservedIPRange;
339 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; 339 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy;
340 bool m_followedRedirect; 340 bool m_followedRedirect;
341 }; 341 };
342 342
343 } // namespace blink 343 } // namespace blink
344 344
345 #endif // ResourceRequest_h 345 #endif // ResourceRequest_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698