| 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 , m_creationTime(creationTime) | 83 , m_creationTime(creationTime) |
| 84 , m_updateTime(updateTime) | 84 , m_updateTime(updateTime) |
| 85 , m_size(size) { } | 85 , m_size(size) { } |
| 86 KURL m_manifest; | 86 KURL m_manifest; |
| 87 double m_creationTime; | 87 double m_creationTime; |
| 88 double m_updateTime; | 88 double m_updateTime; |
| 89 long long m_size; | 89 long long m_size; |
| 90 }; | 90 }; |
| 91 | 91 |
| 92 struct ResourceInfo { | 92 struct ResourceInfo { |
| 93 ALLOW_ONLY_INLINE_ALLOCATION(); | 93 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
| 94 ResourceInfo(const KURL& resource, bool isMaster, bool isManifest, b
ool isFallback, bool isForeign, bool isExplicit, long long size) | 94 ResourceInfo(const KURL& resource, bool isMaster, bool isManifest, b
ool isFallback, bool isForeign, bool isExplicit, long long size) |
| 95 : m_resource(resource) | 95 : m_resource(resource) |
| 96 , m_isMaster(isMaster) | 96 , m_isMaster(isMaster) |
| 97 , m_isManifest(isManifest) | 97 , m_isManifest(isManifest) |
| 98 , m_isFallback(isFallback) | 98 , m_isFallback(isFallback) |
| 99 , m_isForeign(isForeign) | 99 , m_isForeign(isForeign) |
| 100 , m_isExplicit(isExplicit) | 100 , m_isExplicit(isExplicit) |
| 101 , m_size(size) { } | 101 , m_size(size) { } |
| 102 KURL m_resource; | 102 KURL m_resource; |
| 103 bool m_isMaster; | 103 bool m_isMaster; |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 Vector<DeferredEvent> m_deferredEvents; | 174 Vector<DeferredEvent> m_deferredEvents; |
| 175 | 175 |
| 176 void dispatchDOMEvent(EventID, int progressTotal, int progressDone, WebA
pplicationCacheHost::ErrorReason, const String& errorURL, int errorStatus, const
String& errorMessage); | 176 void dispatchDOMEvent(EventID, int progressTotal, int progressDone, WebA
pplicationCacheHost::ErrorReason, const String& errorURL, int errorStatus, const
String& errorMessage); |
| 177 | 177 |
| 178 OwnPtr<WebApplicationCacheHost> m_host; | 178 OwnPtr<WebApplicationCacheHost> m_host; |
| 179 }; | 179 }; |
| 180 | 180 |
| 181 } // namespace blink | 181 } // namespace blink |
| 182 | 182 |
| 183 #endif // ApplicationCacheHost_h | 183 #endif // ApplicationCacheHost_h |
| OLD | NEW |