| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 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 26 matching lines...) Expand all Loading... |
| 37 class WebURLRequest; | 37 class WebURLRequest; |
| 38 | 38 |
| 39 // This interface is implemented by the client and is only called on the main th
read. | 39 // This interface is implemented by the client and is only called on the main th
read. |
| 40 class WebServiceWorkerNetworkProvider { | 40 class WebServiceWorkerNetworkProvider { |
| 41 public: | 41 public: |
| 42 virtual ~WebServiceWorkerNetworkProvider() { } | 42 virtual ~WebServiceWorkerNetworkProvider() { } |
| 43 | 43 |
| 44 // A request is about to be sent out, and the client may modify it. Request | 44 // A request is about to be sent out, and the client may modify it. Request |
| 45 // is writable, and changes to the URL, for example, will change the request | 45 // is writable, and changes to the URL, for example, will change the request |
| 46 // made. | 46 // made. |
| 47 virtual void willSendRequest(blink::WebDataSource*, blink::WebURLRequest&) {
} | 47 virtual void willSendRequest(WebDataSource*, WebURLRequest&) { } |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 } // namespace blink | 50 } // namespace blink |
| 51 | 51 |
| 52 #endif // WebServiceWorkerNetworkProvider_h | 52 #endif // WebServiceWorkerNetworkProvider_h |
| OLD | NEW |