| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 17 matching lines...) Expand all Loading... |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef WebApplicationCacheHost_h | 31 #ifndef WebApplicationCacheHost_h |
| 32 #define WebApplicationCacheHost_h | 32 #define WebApplicationCacheHost_h |
| 33 | 33 |
| 34 #include "../platform/WebCommon.h" | 34 #include "../platform/WebCommon.h" |
| 35 #include "../platform/WebURL.h" | 35 #include "../platform/WebURL.h" |
| 36 #include "../platform/WebVector.h" | 36 #include "../platform/WebVector.h" |
| 37 | 37 |
| 38 namespace WebKit { | 38 namespace blink { |
| 39 | 39 |
| 40 class WebApplicationCacheHostClient; | 40 class WebApplicationCacheHostClient; |
| 41 class WebFrame; | 41 class WebFrame; |
| 42 class WebURL; | 42 class WebURL; |
| 43 class WebURLRequest; | 43 class WebURLRequest; |
| 44 class WebURLResponse; | 44 class WebURLResponse; |
| 45 struct WebURLError; | 45 struct WebURLError; |
| 46 | 46 |
| 47 // This interface is used by webkit to call out to the embedder. Webkit uses | 47 // This interface is used by webkit to call out to the embedder. Webkit uses |
| 48 // the WebFrameClient::createApplicationCacheHost method to create instances, | 48 // the WebFrameClient::createApplicationCacheHost method to create instances, |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 bool isExplicit; | 110 bool isExplicit; |
| 111 bool isForeign; | 111 bool isForeign; |
| 112 bool isFallback; | 112 bool isFallback; |
| 113 ResourceInfo() : size(0), isMaster(false), isManifest(false), isExplicit
(false), isForeign(false), isFallback(false) { } | 113 ResourceInfo() : size(0), isMaster(false), isManifest(false), isExplicit
(false), isForeign(false), isFallback(false) { } |
| 114 }; | 114 }; |
| 115 virtual void getAssociatedCacheInfo(CacheInfo*) { } | 115 virtual void getAssociatedCacheInfo(CacheInfo*) { } |
| 116 virtual void getResourceList(WebVector<ResourceInfo>*) { } | 116 virtual void getResourceList(WebVector<ResourceInfo>*) { } |
| 117 virtual void deleteAssociatedCacheGroup() { } | 117 virtual void deleteAssociatedCacheGroup() { } |
| 118 }; | 118 }; |
| 119 | 119 |
| 120 } // namespace WebKit | 120 } // namespace blink |
| 121 | 121 |
| 122 #endif // WebApplicationCacheHost_h | 122 #endif // WebApplicationCacheHost_h |
| OLD | NEW |