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

Unified Diff: Source/modules/quota/NavigatorStorageQuota.h

Issue 158133003: Move quota module to oilpan (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove conditional support for GCed-supplements Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: Source/modules/quota/NavigatorStorageQuota.h
diff --git a/Source/modules/quota/NavigatorStorageQuota.h b/Source/modules/quota/NavigatorStorageQuota.h
index 2875d33127fd0ecbc8e9d1cbeeeed3d00e349cb8..6e65f584184331be875bf86def6ea61bd7d9278a 100644
--- a/Source/modules/quota/NavigatorStorageQuota.h
+++ b/Source/modules/quota/NavigatorStorageQuota.h
@@ -32,18 +32,19 @@
#define NavigatorStorageQuota_h
#include "core/frame/DOMWindowProperty.h"
+#include "heap/Handle.h"
+#include "modules/quota/DeprecatedStorageQuota.h"
#include "platform/Supplementable.h"
namespace WebCore {
-class DeprecatedStorageQuota;
class Frame;
class Navigator;
class StorageQuota;
class NavigatorStorageQuota FINAL : public Supplement<Navigator>, public DOMWindowProperty {
public:
- virtual ~NavigatorStorageQuota();
+ virtual ~NavigatorStorageQuota() { }
tkent 2014/02/10 08:27:40 Ditto.
sof 2014/02/10 09:07:19 Reverted.
static NavigatorStorageQuota* from(Navigator*);
static StorageQuota* storageQuota(Navigator*);
@@ -58,9 +59,9 @@ private:
explicit NavigatorStorageQuota(Frame*);
static const char* supplementName();
- mutable RefPtr<StorageQuota> m_storageQuota;
- mutable RefPtr<DeprecatedStorageQuota> m_temporaryStorage;
- mutable RefPtr<DeprecatedStorageQuota> m_persistentStorage;
+ mutable RefPtrWillBePersistent<StorageQuota> m_storageQuota;
+ mutable RefPtrWillBePersistent<DeprecatedStorageQuota> m_temporaryStorage;
+ mutable RefPtrWillBePersistent<DeprecatedStorageQuota> m_persistentStorage;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698