| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 WEBKIT_BROWSER_APPCACHE_APPCACHE_INTERCEPTOR_H_ | 5 #ifndef WEBKIT_BROWSER_APPCACHE_APPCACHE_INTERCEPTOR_H_ |
| 6 #define WEBKIT_BROWSER_APPCACHE_APPCACHE_INTERCEPTOR_H_ | 6 #define WEBKIT_BROWSER_APPCACHE_APPCACHE_INTERCEPTOR_H_ |
| 7 | 7 |
| 8 #include "base/memory/singleton.h" | 8 #include "base/memory/singleton.h" |
| 9 #include "googleurl/src/gurl.h" | |
| 10 #include "net/url_request/url_request.h" | 9 #include "net/url_request/url_request.h" |
| 10 #include "url/gurl.h" |
| 11 #include "webkit/browser/webkit_storage_browser_export.h" | 11 #include "webkit/browser/webkit_storage_browser_export.h" |
| 12 #include "webkit/glue/resource_type.h" | 12 #include "webkit/glue/resource_type.h" |
| 13 | 13 |
| 14 namespace appcache { | 14 namespace appcache { |
| 15 | 15 |
| 16 class AppCacheRequestHandler; | 16 class AppCacheRequestHandler; |
| 17 class AppCacheService; | 17 class AppCacheService; |
| 18 | 18 |
| 19 // An interceptor to hijack requests and potentially service them out of | 19 // An interceptor to hijack requests and potentially service them out of |
| 20 // the appcache. | 20 // the appcache. |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 static void SetHandler(net::URLRequest* request, | 64 static void SetHandler(net::URLRequest* request, |
| 65 AppCacheRequestHandler* handler); | 65 AppCacheRequestHandler* handler); |
| 66 static AppCacheRequestHandler* GetHandler(net::URLRequest* request); | 66 static AppCacheRequestHandler* GetHandler(net::URLRequest* request); |
| 67 | 67 |
| 68 DISALLOW_COPY_AND_ASSIGN(AppCacheInterceptor); | 68 DISALLOW_COPY_AND_ASSIGN(AppCacheInterceptor); |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 } // namespace appcache | 71 } // namespace appcache |
| 72 | 72 |
| 73 #endif // WEBKIT_BROWSER_APPCACHE_APPCACHE_INTERCEPTOR_H_ | 73 #endif // WEBKIT_BROWSER_APPCACHE_APPCACHE_INTERCEPTOR_H_ |
| OLD | NEW |