| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_EXECUTABLE_HANDLER_H_ | 5 #ifndef WEBKIT_BROWSER_APPCACHE_APPCACHE_EXECUTABLE_HANDLER_H_ |
| 6 #define WEBKIT_BROWSER_APPCACHE_APPCACHE_EXECUTABLE_HANDLER_H_ | 6 #define WEBKIT_BROWSER_APPCACHE_APPCACHE_EXECUTABLE_HANDLER_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "googleurl/src/gurl.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 | 12 |
| 13 namespace net { | 13 namespace net { |
| 14 class IOBuffer; | 14 class IOBuffer; |
| 15 class URLRequest; | 15 class URLRequest; |
| 16 } | 16 } |
| 17 | 17 |
| 18 namespace appcache { | 18 namespace appcache { |
| 19 | 19 |
| 20 // An interface that must be provided by the embedder to support this feature. | 20 // An interface that must be provided by the embedder to support this feature. |
| (...skipping 24 matching lines...) Expand all Loading... |
| 45 virtual scoped_ptr<AppCacheExecutableHandler> CreateHandler( | 45 virtual scoped_ptr<AppCacheExecutableHandler> CreateHandler( |
| 46 const GURL& handler_url, net::IOBuffer* handler_source) = 0; | 46 const GURL& handler_url, net::IOBuffer* handler_source) = 0; |
| 47 | 47 |
| 48 protected: | 48 protected: |
| 49 virtual ~AppCacheExecutableHandlerFactory() {} | 49 virtual ~AppCacheExecutableHandlerFactory() {} |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 } // namespace appcache | 52 } // namespace appcache |
| 53 | 53 |
| 54 #endif // WEBKIT_BROWSER_APPCACHE_APPCACHE_EXECUTABLE_HANDLER_H_ | 54 #endif // WEBKIT_BROWSER_APPCACHE_APPCACHE_EXECUTABLE_HANDLER_H_ |
| OLD | NEW |