| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 void clearForOriginDeletion(); | 71 void clearForOriginDeletion(); |
| 72 | 72 |
| 73 void sync(); | 73 void sync(); |
| 74 | 74 |
| 75 private: | 75 private: |
| 76 StorageAreaImpl(StorageType, PassRefPtr<SecurityOrigin>, PassRefPtr<StorageS
yncManager>, unsigned quota); | 76 StorageAreaImpl(StorageType, PassRefPtr<SecurityOrigin>, PassRefPtr<StorageS
yncManager>, unsigned quota); |
| 77 explicit StorageAreaImpl(StorageAreaImpl*); | 77 explicit StorageAreaImpl(StorageAreaImpl*); |
| 78 | 78 |
| 79 void blockUntilImportComplete() const; | 79 void blockUntilImportComplete() const; |
| 80 void closeDatabaseTimerFired(Timer<StorageAreaImpl>*); | 80 void closeDatabaseTimerFired(Timer<StorageAreaImpl>*); |
| 81 bool disabledByPrivateBrowsingInFrame(const Frame* sourceFrame) const; | |
| 82 | 81 |
| 83 void dispatchStorageEvent(const String& key, const String& oldValue, const S
tring& newValue, Frame* sourceFrame); | 82 void dispatchStorageEvent(const String& key, const String& oldValue, const S
tring& newValue, Frame* sourceFrame); |
| 84 | 83 |
| 85 StorageType m_storageType; | 84 StorageType m_storageType; |
| 86 RefPtr<SecurityOrigin> m_securityOrigin; | 85 RefPtr<SecurityOrigin> m_securityOrigin; |
| 87 RefPtr<StorageMap> m_storageMap; | 86 RefPtr<StorageMap> m_storageMap; |
| 88 | 87 |
| 89 RefPtr<StorageAreaSync> m_storageAreaSync; | 88 RefPtr<StorageAreaSync> m_storageAreaSync; |
| 90 RefPtr<StorageSyncManager> m_storageSyncManager; | 89 RefPtr<StorageSyncManager> m_storageSyncManager; |
| 91 | 90 |
| 92 #ifndef NDEBUG | 91 #ifndef NDEBUG |
| 93 bool m_isShutdown; | 92 bool m_isShutdown; |
| 94 #endif | 93 #endif |
| 95 unsigned m_accessCount; | 94 unsigned m_accessCount; |
| 96 Timer<StorageAreaImpl> m_closeDatabaseTimer; | 95 Timer<StorageAreaImpl> m_closeDatabaseTimer; |
| 97 }; | 96 }; |
| 98 | 97 |
| 99 } // namespace WebCore | 98 } // namespace WebCore |
| 100 | 99 |
| 101 #endif // StorageAreaImpl_h | 100 #endif // StorageAreaImpl_h |
| OLD | NEW |