| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef IOS_WEB_PUBLIC_URL_DATA_SOURCE_IOS_H_ | 5 #ifndef IOS_WEB_PUBLIC_URL_DATA_SOURCE_IOS_H_ |
| 6 #define IOS_WEB_PUBLIC_URL_DATA_SOURCE_IOS_H_ | 6 #define IOS_WEB_PUBLIC_URL_DATA_SOURCE_IOS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 | 12 |
| 13 namespace base { | 13 namespace base { |
| 14 class MessageLoop; | |
| 15 class RefCountedMemory; | 14 class RefCountedMemory; |
| 16 } | 15 } |
| 17 | 16 |
| 18 namespace net { | 17 namespace net { |
| 19 class URLRequest; | 18 class URLRequest; |
| 20 } | 19 } |
| 21 | 20 |
| 22 namespace web { | 21 namespace web { |
| 23 class BrowserState; | 22 class BrowserState; |
| 24 | 23 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 // Called to inform the source that StartDataRequest() will be called soon. | 89 // Called to inform the source that StartDataRequest() will be called soon. |
| 91 // Gives the source an opportunity to rewrite |path| to incorporate extra | 90 // Gives the source an opportunity to rewrite |path| to incorporate extra |
| 92 // information from the URLRequest prior to serving. | 91 // information from the URLRequest prior to serving. |
| 93 virtual void WillServiceRequest(const net::URLRequest* request, | 92 virtual void WillServiceRequest(const net::URLRequest* request, |
| 94 std::string* path) const {} | 93 std::string* path) const {} |
| 95 }; | 94 }; |
| 96 | 95 |
| 97 } // namespace web | 96 } // namespace web |
| 98 | 97 |
| 99 #endif // IOS_WEB_PUBLIC_URL_DATA_SOURCE_IOS_H_ | 98 #endif // IOS_WEB_PUBLIC_URL_DATA_SOURCE_IOS_H_ |
| OLD | NEW |