| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 class WebURLRequest; | 42 class WebURLRequest; |
| 43 class WrappedResourceRequest; | 43 class WrappedResourceRequest; |
| 44 | 44 |
| 45 class WebCachedURLRequest { | 45 class WebCachedURLRequest { |
| 46 public: | 46 public: |
| 47 ~WebCachedURLRequest() { reset(); } | 47 ~WebCachedURLRequest() { reset(); } |
| 48 BLINK_EXPORT void reset(); | 48 BLINK_EXPORT void reset(); |
| 49 | 49 |
| 50 BLINK_EXPORT const WebURLRequest& urlRequest() const; | 50 BLINK_EXPORT const WebURLRequest& urlRequest() const; |
| 51 BLINK_EXPORT WebString charset() const; | 51 BLINK_EXPORT WebString charset() const; |
| 52 BLINK_EXPORT bool forPreload() const; | |
| 53 BLINK_EXPORT WebString initiatorName() const; | 52 BLINK_EXPORT WebString initiatorName() const; |
| 54 | 53 |
| 55 #if BLINK_IMPLEMENTATION | 54 #if BLINK_IMPLEMENTATION |
| 56 explicit WebCachedURLRequest(FetchRequest*); | 55 explicit WebCachedURLRequest(FetchRequest*); |
| 57 #endif | 56 #endif |
| 58 | 57 |
| 59 private: | 58 private: |
| 60 WebCachedURLRequest(const WebCachedURLRequest&); | 59 WebCachedURLRequest(const WebCachedURLRequest&); |
| 61 WebCachedURLRequest& operator=(const WebCachedURLRequest&); | 60 WebCachedURLRequest& operator=(const WebCachedURLRequest&); |
| 62 | 61 |
| 63 FetchRequest* m_private; | 62 FetchRequest* m_private; |
| 64 mutable WebPrivateOwnPtr<WrappedResourceRequest> m_resourceRequestWrapper; | 63 mutable WebPrivateOwnPtr<WrappedResourceRequest> m_resourceRequestWrapper; |
| 65 }; | 64 }; |
| 66 | 65 |
| 67 } // namespace blink | 66 } // namespace blink |
| 68 | 67 |
| 69 #endif | 68 #endif |
| OLD | NEW |