| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 const String& errorURL, | 147 const String& errorURL, |
| 148 int errorStatus, | 148 int errorStatus, |
| 149 const String& errorMessage); | 149 const String& errorMessage); |
| 150 | 150 |
| 151 void | 151 void |
| 152 stopDeferringEvents(); // Also raises the events that have been queued up. | 152 stopDeferringEvents(); // Also raises the events that have been queued up. |
| 153 | 153 |
| 154 void fillResourceList(ResourceInfoList*); | 154 void fillResourceList(ResourceInfoList*); |
| 155 CacheInfo applicationCacheInfo(); | 155 CacheInfo applicationCacheInfo(); |
| 156 | 156 |
| 157 int getHostID() const; |
| 158 |
| 157 DECLARE_TRACE(); | 159 DECLARE_TRACE(); |
| 158 | 160 |
| 159 private: | 161 private: |
| 160 explicit ApplicationCacheHost(DocumentLoader*); | 162 explicit ApplicationCacheHost(DocumentLoader*); |
| 161 | 163 |
| 162 void willStartLoadingMainResource(ResourceRequest&); | 164 void willStartLoadingMainResource(ResourceRequest&); |
| 163 void willStartLoadingResource(ResourceRequest&); | 165 void willStartLoadingResource(ResourceRequest&); |
| 164 | 166 |
| 165 // WebApplicationCacheHostClient implementation | 167 // WebApplicationCacheHostClient implementation |
| 166 void didChangeCacheAssociation() final; | 168 void didChangeCacheAssociation() final; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 const String& errorURL, | 214 const String& errorURL, |
| 213 int errorStatus, | 215 int errorStatus, |
| 214 const String& errorMessage); | 216 const String& errorMessage); |
| 215 | 217 |
| 216 std::unique_ptr<WebApplicationCacheHost> m_host; | 218 std::unique_ptr<WebApplicationCacheHost> m_host; |
| 217 }; | 219 }; |
| 218 | 220 |
| 219 } // namespace blink | 221 } // namespace blink |
| 220 | 222 |
| 221 #endif // ApplicationCacheHost_h | 223 #endif // ApplicationCacheHost_h |
| OLD | NEW |