| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2009, Google Inc. All rights reserved. | 2 * Copyright (c) 2009, 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 long long m_size; | 105 long long m_size; |
| 106 }; | 106 }; |
| 107 | 107 |
| 108 typedef Vector<ResourceInfo> ResourceInfoList; | 108 typedef Vector<ResourceInfo> ResourceInfoList; |
| 109 | 109 |
| 110 void selectCacheWithoutManifest(); | 110 void selectCacheWithoutManifest(); |
| 111 void selectCacheWithManifest(const KURL& manifestURL); | 111 void selectCacheWithManifest(const KURL& manifestURL); |
| 112 | 112 |
| 113 void willStartLoadingMainResource(ResourceRequest&); | 113 void willStartLoadingMainResource(ResourceRequest&); |
| 114 void didReceiveResponseForMainResource(const ResourceResponse&); | 114 void didReceiveResponseForMainResource(const ResourceResponse&); |
| 115 void mainResourceDataReceived(const char* data, int length); | 115 void mainResourceDataReceived(const char* data, unsigned length); |
| 116 void finishedLoadingMainResource(); | 116 void finishedLoadingMainResource(); |
| 117 void failedLoadingMainResource(); | 117 void failedLoadingMainResource(); |
| 118 | 118 |
| 119 void willStartLoadingResource(ResourceRequest&); | 119 void willStartLoadingResource(ResourceRequest&); |
| 120 | 120 |
| 121 Status status() const; | 121 Status status() const; |
| 122 bool update(); | 122 bool update(); |
| 123 bool swapCache(); | 123 bool swapCache(); |
| 124 void abort(); | 124 void abort(); |
| 125 | 125 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 Vector<DeferredEvent> m_deferredEvents; | 171 Vector<DeferredEvent> m_deferredEvents; |
| 172 | 172 |
| 173 void dispatchDOMEvent(EventID, int progressTotal, int progressDone, WebA
pplicationCacheHost::ErrorReason, const String& errorURL, int errorStatus, const
String& errorMessage); | 173 void dispatchDOMEvent(EventID, int progressTotal, int progressDone, WebA
pplicationCacheHost::ErrorReason, const String& errorURL, int errorStatus, const
String& errorMessage); |
| 174 | 174 |
| 175 OwnPtr<WebApplicationCacheHost> m_host; | 175 OwnPtr<WebApplicationCacheHost> m_host; |
| 176 }; | 176 }; |
| 177 | 177 |
| 178 } // namespace blink | 178 } // namespace blink |
| 179 | 179 |
| 180 #endif // ApplicationCacheHost_h | 180 #endif // ApplicationCacheHost_h |
| OLD | NEW |