| OLD | NEW |
| 1 /* | 1 /* |
| 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) | 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) |
| 3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org> | 3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org> |
| 4 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) | 4 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) |
| 5 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All | 5 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All |
| 6 rights reserved. | 6 rights reserved. |
| 7 | 7 |
| 8 This library is free software; you can redistribute it and/or | 8 This library is free software; you can redistribute it and/or |
| 9 modify it under the terms of the GNU Library General Public | 9 modify it under the terms of the GNU Library General Public |
| 10 License as published by the Free Software Foundation; either | 10 License as published by the Free Software Foundation; either |
| (...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 void cancelTimerFired(TimerBase*); | 398 void cancelTimerFired(TimerBase*); |
| 399 | 399 |
| 400 void revalidationSucceeded(const ResourceResponse&); | 400 void revalidationSucceeded(const ResourceResponse&); |
| 401 void revalidationFailed(); | 401 void revalidationFailed(); |
| 402 | 402 |
| 403 size_t calculateOverheadSize() const; | 403 size_t calculateOverheadSize() const; |
| 404 | 404 |
| 405 String reasonNotDeletable() const; | 405 String reasonNotDeletable() const; |
| 406 | 406 |
| 407 // MemoryCoordinatorClient overrides: | 407 // MemoryCoordinatorClient overrides: |
| 408 void prepareToSuspend() override; | 408 void onMemoryStateChange(MemoryState) override; |
| 409 | 409 |
| 410 Member<CachedMetadataHandlerImpl> m_cacheHandler; | 410 Member<CachedMetadataHandlerImpl> m_cacheHandler; |
| 411 RefPtr<SecurityOrigin> m_fetcherSecurityOrigin; | 411 RefPtr<SecurityOrigin> m_fetcherSecurityOrigin; |
| 412 | 412 |
| 413 ResourceError m_error; | 413 ResourceError m_error; |
| 414 | 414 |
| 415 double m_loadFinishTime; | 415 double m_loadFinishTime; |
| 416 | 416 |
| 417 unsigned long m_identifier; | 417 unsigned long m_identifier; |
| 418 | 418 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 }; | 481 }; |
| 482 | 482 |
| 483 #define DEFINE_RESOURCE_TYPE_CASTS(typeName) \ | 483 #define DEFINE_RESOURCE_TYPE_CASTS(typeName) \ |
| 484 DEFINE_TYPE_CASTS(typeName##Resource, Resource, resource, \ | 484 DEFINE_TYPE_CASTS(typeName##Resource, Resource, resource, \ |
| 485 resource->getType() == Resource::typeName, \ | 485 resource->getType() == Resource::typeName, \ |
| 486 resource.getType() == Resource::typeName); | 486 resource.getType() == Resource::typeName); |
| 487 | 487 |
| 488 } // namespace blink | 488 } // namespace blink |
| 489 | 489 |
| 490 #endif | 490 #endif |
| OLD | NEW |