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

Side by Side Diff: third_party/WebKit/public/platform/WebURLResponse.h

Issue 2398053003: Compute ResourceResponse::suggestedFileName on the fly. (Closed)
Patch Set: clean up vestigial changes (trybots previous) Created 4 years, 2 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
« no previous file with comments | « third_party/WebKit/Source/platform/network/ResourceResponse.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 171
172 BLINK_PLATFORM_EXPORT WebString mimeType() const; 172 BLINK_PLATFORM_EXPORT WebString mimeType() const;
173 BLINK_PLATFORM_EXPORT void setMIMEType(const WebString&); 173 BLINK_PLATFORM_EXPORT void setMIMEType(const WebString&);
174 174
175 BLINK_PLATFORM_EXPORT long long expectedContentLength() const; 175 BLINK_PLATFORM_EXPORT long long expectedContentLength() const;
176 BLINK_PLATFORM_EXPORT void setExpectedContentLength(long long); 176 BLINK_PLATFORM_EXPORT void setExpectedContentLength(long long);
177 177
178 BLINK_PLATFORM_EXPORT WebString textEncodingName() const; 178 BLINK_PLATFORM_EXPORT WebString textEncodingName() const;
179 BLINK_PLATFORM_EXPORT void setTextEncodingName(const WebString&); 179 BLINK_PLATFORM_EXPORT void setTextEncodingName(const WebString&);
180 180
181 BLINK_PLATFORM_EXPORT WebString suggestedFileName() const;
182 BLINK_PLATFORM_EXPORT void setSuggestedFileName(const WebString&);
183
184 BLINK_PLATFORM_EXPORT HTTPVersion httpVersion() const; 181 BLINK_PLATFORM_EXPORT HTTPVersion httpVersion() const;
185 BLINK_PLATFORM_EXPORT void setHTTPVersion(HTTPVersion); 182 BLINK_PLATFORM_EXPORT void setHTTPVersion(HTTPVersion);
186 183
187 BLINK_PLATFORM_EXPORT int httpStatusCode() const; 184 BLINK_PLATFORM_EXPORT int httpStatusCode() const;
188 BLINK_PLATFORM_EXPORT void setHTTPStatusCode(int); 185 BLINK_PLATFORM_EXPORT void setHTTPStatusCode(int);
189 186
190 BLINK_PLATFORM_EXPORT WebString httpStatusText() const; 187 BLINK_PLATFORM_EXPORT WebString httpStatusText() const;
191 BLINK_PLATFORM_EXPORT void setHTTPStatusText(const WebString&); 188 BLINK_PLATFORM_EXPORT void setHTTPStatusText(const WebString&);
192 189
193 BLINK_PLATFORM_EXPORT WebString httpHeaderField(const WebString& name) const; 190 BLINK_PLATFORM_EXPORT WebString httpHeaderField(const WebString& name) const;
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 // instance it contains. 326 // instance it contains.
330 std::unique_ptr<ResourceResponseContainer> m_ownedResourceResponse; 327 std::unique_ptr<ResourceResponseContainer> m_ownedResourceResponse;
331 328
332 // Should never be null. 329 // Should never be null.
333 ResourceResponse* m_resourceResponse; 330 ResourceResponse* m_resourceResponse;
334 }; 331 };
335 332
336 } // namespace blink 333 } // namespace blink
337 334
338 #endif 335 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/network/ResourceResponse.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698