| OLD | NEW |
| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 class WebURL; | 48 class WebURL; |
| 49 class WebURLRequestPrivate; | 49 class WebURLRequestPrivate; |
| 50 | 50 |
| 51 class WebURLRequest { | 51 class WebURLRequest { |
| 52 public: | 52 public: |
| 53 enum CachePolicy { | 53 enum CachePolicy { |
| 54 UseProtocolCachePolicy, // normal load | 54 UseProtocolCachePolicy, // normal load |
| 55 ReloadIgnoringCacheData, // reload | 55 ReloadIgnoringCacheData, // reload |
| 56 ReturnCacheDataElseLoad, // back/forward or encoding change - allow stal
e data | 56 ReturnCacheDataElseLoad, // back/forward or encoding change - allow stal
e data |
| 57 ReturnCacheDataDontLoad, // results of a post - allow stale data and onl
y use cache | 57 ReturnCacheDataDontLoad, // results of a post - allow stale data and onl
y use cache |
| 58 ReloadBypassingCache, // shift reload |
| 58 }; | 59 }; |
| 59 | 60 |
| 60 enum Priority { | 61 enum Priority { |
| 61 PriorityUnresolved = -1, | 62 PriorityUnresolved = -1, |
| 62 PriorityVeryLow, | 63 PriorityVeryLow, |
| 63 PriorityLow, | 64 PriorityLow, |
| 64 PriorityMedium, | 65 PriorityMedium, |
| 65 PriorityHigh, | 66 PriorityHigh, |
| 66 PriorityVeryHigh, | 67 PriorityVeryHigh, |
| 67 }; | 68 }; |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 protected: | 205 protected: |
| 205 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); | 206 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); |
| 206 | 207 |
| 207 private: | 208 private: |
| 208 WebURLRequestPrivate* m_private; | 209 WebURLRequestPrivate* m_private; |
| 209 }; | 210 }; |
| 210 | 211 |
| 211 } // namespace blink | 212 } // namespace blink |
| 212 | 213 |
| 213 #endif | 214 #endif |
| OLD | NEW |