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

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

Issue 1738553002: [ABANDONED] Move multipart/x-mixed-replace related code to ImageResource (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@multipart-cleanup-2
Patch Set: 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
« 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 218
219 // The type of the response which was fetched by the ServiceWorker. 219 // The type of the response which was fetched by the ServiceWorker.
220 BLINK_PLATFORM_EXPORT WebServiceWorkerResponseType serviceWorkerResponseType () const; 220 BLINK_PLATFORM_EXPORT WebServiceWorkerResponseType serviceWorkerResponseType () const;
221 BLINK_PLATFORM_EXPORT void setServiceWorkerResponseType(WebServiceWorkerResp onseType); 221 BLINK_PLATFORM_EXPORT void setServiceWorkerResponseType(WebServiceWorkerResp onseType);
222 222
223 // The original URL of the response which was fetched by the ServiceWorker. 223 // The original URL of the response which was fetched by the ServiceWorker.
224 // This may be empty if the response was created inside the ServiceWorker. 224 // This may be empty if the response was created inside the ServiceWorker.
225 BLINK_PLATFORM_EXPORT WebURL originalURLViaServiceWorker() const; 225 BLINK_PLATFORM_EXPORT WebURL originalURLViaServiceWorker() const;
226 BLINK_PLATFORM_EXPORT void setOriginalURLViaServiceWorker(const WebURL&); 226 BLINK_PLATFORM_EXPORT void setOriginalURLViaServiceWorker(const WebURL&);
227 227
228 // Flag whether this request is part of a multipart response.
229 BLINK_PLATFORM_EXPORT bool isMultipartPayload() const;
230 BLINK_PLATFORM_EXPORT void setIsMultipartPayload(bool);
231
232 // The boundary of the response. Set only when this is a multipart response. 228 // The boundary of the response. Set only when this is a multipart response.
233 BLINK_PLATFORM_EXPORT void setMultipartBoundary(const char* bytes, size_t /* size */); 229 BLINK_PLATFORM_EXPORT void setMultipartBoundary(const char* bytes, size_t /* size */);
234 230
235 // This indicates the location of a downloaded response if the 231 // This indicates the location of a downloaded response if the
236 // WebURLRequest had the downloadToFile flag set to true. This file path 232 // WebURLRequest had the downloadToFile flag set to true. This file path
237 // remains valid for the lifetime of the WebURLLoader used to create it. 233 // remains valid for the lifetime of the WebURLLoader used to create it.
238 BLINK_PLATFORM_EXPORT WebString downloadFilePath() const; 234 BLINK_PLATFORM_EXPORT WebString downloadFilePath() const;
239 BLINK_PLATFORM_EXPORT void setDownloadFilePath(const WebString&); 235 BLINK_PLATFORM_EXPORT void setDownloadFilePath(const WebString&);
240 236
241 // Remote IP address of the socket which fetched this resource. 237 // Remote IP address of the socket which fetched this resource.
(...skipping 16 matching lines...) Expand all
258 protected: 254 protected:
259 BLINK_PLATFORM_EXPORT void assign(WebURLResponsePrivate*); 255 BLINK_PLATFORM_EXPORT void assign(WebURLResponsePrivate*);
260 256
261 private: 257 private:
262 WebURLResponsePrivate* m_private; 258 WebURLResponsePrivate* m_private;
263 }; 259 };
264 260
265 } // namespace blink 261 } // namespace blink
266 262
267 #endif 263 #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