| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2009, 2010 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008, 2009, 2010 Apple 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 bool m_isCopy; | 184 bool m_isCopy; |
| 185 | 185 |
| 186 // This flag is set immediately after the ChromeClient::reachedMaxAppCacheSi
ze() callback is invoked as a result of the storage layer failing to save a cach
e | 186 // This flag is set immediately after the ChromeClient::reachedMaxAppCacheSi
ze() callback is invoked as a result of the storage layer failing to save a cach
e |
| 187 // due to reaching the maximum size of the application cache database file.
This flag is used by ApplicationCacheGroup::checkIfLoadIsComplete() to decide | 187 // due to reaching the maximum size of the application cache database file.
This flag is used by ApplicationCacheGroup::checkIfLoadIsComplete() to decide |
| 188 // the course of action in case of this failure (i.e. call the ChromeClient
callback or run the failure steps). | 188 // the course of action in case of this failure (i.e. call the ChromeClient
callback or run the failure steps). |
| 189 bool m_calledReachedMaxAppCacheSize; | 189 bool m_calledReachedMaxAppCacheSize; |
| 190 | 190 |
| 191 RefPtr<ResourceHandle> m_currentHandle; | 191 RefPtr<ResourceHandle> m_currentHandle; |
| 192 RefPtr<ApplicationCacheResource> m_currentResource; | 192 RefPtr<ApplicationCacheResource> m_currentResource; |
| 193 | 193 |
| 194 #if ENABLE(INSPECTOR) | |
| 195 unsigned long m_currentResourceIdentifier; | 194 unsigned long m_currentResourceIdentifier; |
| 196 #endif | |
| 197 | 195 |
| 198 RefPtr<ApplicationCacheResource> m_manifestResource; | 196 RefPtr<ApplicationCacheResource> m_manifestResource; |
| 199 RefPtr<ResourceHandle> m_manifestHandle; | 197 RefPtr<ResourceHandle> m_manifestHandle; |
| 200 | 198 |
| 201 int64_t m_availableSpaceInQuota; | 199 int64_t m_availableSpaceInQuota; |
| 202 bool m_originQuotaExceededPreviously; | 200 bool m_originQuotaExceededPreviously; |
| 203 | 201 |
| 204 friend class ChromeClientCallbackTimer; | 202 friend class ChromeClientCallbackTimer; |
| 205 }; | 203 }; |
| 206 | 204 |
| 207 } // namespace WebCore | 205 } // namespace WebCore |
| 208 | 206 |
| 209 #endif // ApplicationCacheGroup_h | 207 #endif // ApplicationCacheGroup_h |
| OLD | NEW |