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

Unified Diff: Source/modules/quota/WorkerNavigatorStorageQuota.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/WorkerNavigatorStorageQuota.h
diff --git a/Source/modules/quota/WorkerNavigatorStorageQuota.h b/Source/modules/quota/WorkerNavigatorStorageQuota.h
index adf955c86743c0f574c6eff9fbaec4354a4f0ca6..63f13b45622e9d24f12832ff687747120f9168e1 100644
--- a/Source/modules/quota/WorkerNavigatorStorageQuota.h
+++ b/Source/modules/quota/WorkerNavigatorStorageQuota.h
@@ -33,16 +33,15 @@
#include "core/frame/DOMWindowProperty.h"
#include "core/workers/WorkerNavigator.h"
+#include "heap/Handle.h"
+#include "modules/quota/DeprecatedStorageQuota.h"
#include "platform/Supplementable.h"
namespace WebCore {
-class DeprecatedStorageQuota;
-class WorkerNavigator;
-
class WorkerNavigatorStorageQuota FINAL : public Supplement<WorkerNavigator> {
public:
- virtual ~WorkerNavigatorStorageQuota();
+ virtual ~WorkerNavigatorStorageQuota() { }
tkent 2014/02/10 08:27:40 Ditto.
sof 2014/02/10 09:07:19 Reverted.
static WorkerNavigatorStorageQuota* from(WorkerNavigator*);
static DeprecatedStorageQuota* webkitTemporaryStorage(WorkerNavigator*);
@@ -51,11 +50,11 @@ public:
DeprecatedStorageQuota* webkitPersistentStorage() const;
private:
- explicit WorkerNavigatorStorageQuota();
+ explicit WorkerNavigatorStorageQuota() { }
tkent 2014/02/10 08:27:40 Ditto.
sof 2014/02/10 09:07:19 Reverted.
static const char* supplementName();
- mutable RefPtr<DeprecatedStorageQuota> m_temporaryStorage;
- mutable RefPtr<DeprecatedStorageQuota> m_persistentStorage;
+ mutable RefPtrWillBePersistent<DeprecatedStorageQuota> m_temporaryStorage;
+ mutable RefPtrWillBePersistent<DeprecatedStorageQuota> m_persistentStorage;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698