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

Side by Side Diff: public/platform/WebURLRequest.h

Issue 338093006: Add setPriority to WebURLRequest (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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 | « Source/platform/exported/WebURLRequest.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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 // Extra data associated with the underlying resource request. Resource 185 // Extra data associated with the underlying resource request. Resource
186 // requests can be copied. If non-null, each copy of a resource requests 186 // requests can be copied. If non-null, each copy of a resource requests
187 // holds a pointer to the extra data, and the extra data pointer will be 187 // holds a pointer to the extra data, and the extra data pointer will be
188 // deleted when the last resource request is destroyed. Setting the extra 188 // deleted when the last resource request is destroyed. Setting the extra
189 // data pointer will cause the underlying resource request to be 189 // data pointer will cause the underlying resource request to be
190 // dissociated from any existing non-null extra data pointer. 190 // dissociated from any existing non-null extra data pointer.
191 BLINK_PLATFORM_EXPORT ExtraData* extraData() const; 191 BLINK_PLATFORM_EXPORT ExtraData* extraData() const;
192 BLINK_PLATFORM_EXPORT void setExtraData(ExtraData*); 192 BLINK_PLATFORM_EXPORT void setExtraData(ExtraData*);
193 193
194 BLINK_PLATFORM_EXPORT Priority priority() const; 194 BLINK_PLATFORM_EXPORT Priority priority() const;
195 BLINK_PLATFORM_EXPORT void setPriority(Priority);
195 196
196 #if INSIDE_BLINK 197 #if INSIDE_BLINK
197 BLINK_PLATFORM_EXPORT WebCore::ResourceRequest& toMutableResourceRequest(); 198 BLINK_PLATFORM_EXPORT WebCore::ResourceRequest& toMutableResourceRequest();
198 BLINK_PLATFORM_EXPORT const WebCore::ResourceRequest& toResourceRequest() co nst; 199 BLINK_PLATFORM_EXPORT const WebCore::ResourceRequest& toResourceRequest() co nst;
199 #endif 200 #endif
200 201
201 protected: 202 protected:
202 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); 203 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*);
203 204
204 private: 205 private:
205 WebURLRequestPrivate* m_private; 206 WebURLRequestPrivate* m_private;
206 }; 207 };
207 208
208 } // namespace blink 209 } // namespace blink
209 210
210 #endif 211 #endif
OLDNEW
« no previous file with comments | « Source/platform/exported/WebURLRequest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698