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 30 matching lines...) Expand all Loading... |
41 namespace blink { | 41 namespace blink { |
42 | 42 |
43 class WebDocumentSubresourceFilter; | 43 class WebDocumentSubresourceFilter; |
44 class WebServiceWorkerNetworkProvider; | 44 class WebServiceWorkerNetworkProvider; |
45 class WebURL; | 45 class WebURL; |
46 class WebURLRequest; | 46 class WebURLRequest; |
47 class WebURLResponse; | 47 class WebURLResponse; |
48 template <typename T> | 48 template <typename T> |
49 class WebVector; | 49 class WebVector; |
50 | 50 |
51 class WebDataSource { | 51 class BLINK_EXPORT WebDataSource { |
52 public: | 52 public: |
53 class ExtraData { | 53 class ExtraData { |
54 public: | 54 public: |
55 virtual ~ExtraData() {} | 55 virtual ~ExtraData() {} |
56 }; | 56 }; |
57 | 57 |
58 // Returns the original request that resulted in this datasource. | 58 // Returns the original request that resulted in this datasource. |
59 virtual const WebURLRequest& OriginalRequest() const = 0; | 59 virtual const WebURLRequest& OriginalRequest() const = 0; |
60 | 60 |
61 // Returns the request corresponding to this datasource. It may | 61 // Returns the request corresponding to this datasource. It may |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 virtual void SetSourceLocation(const WebSourceLocation&) = 0; | 137 virtual void SetSourceLocation(const WebSourceLocation&) = 0; |
138 virtual void ResetSourceLocation() = 0; | 138 virtual void ResetSourceLocation() = 0; |
139 | 139 |
140 protected: | 140 protected: |
141 ~WebDataSource() {} | 141 ~WebDataSource() {} |
142 }; | 142 }; |
143 | 143 |
144 } // namespace blink | 144 } // namespace blink |
145 | 145 |
146 #endif | 146 #endif |
OLD | NEW |