Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Side by Side Diff: Source/WebCore/storage/StorageAreaImpl.h

Issue 13861033: Remove Apple's unused implementation of private browsing from WebCore (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Repatch to ToT Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « Source/WebCore/rendering/RenderSearchField.cpp ('k') | Source/WebCore/storage/StorageAreaImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698