summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/modules/filesystem/EntryBase.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/modules/filesystem/EntryBase.h')
-rw-r--r--chromium/third_party/WebKit/Source/modules/filesystem/EntryBase.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/chromium/third_party/WebKit/Source/modules/filesystem/EntryBase.h b/chromium/third_party/WebKit/Source/modules/filesystem/EntryBase.h
index 31119d76e85..068ef5a6434 100644
--- a/chromium/third_party/WebKit/Source/modules/filesystem/EntryBase.h
+++ b/chromium/third_party/WebKit/Source/modules/filesystem/EntryBase.h
@@ -31,7 +31,7 @@
#ifndef EntryBase_h
#define EntryBase_h
-#include "wtf/RefCounted.h"
+#include "platform/heap/Handle.h"
#include "wtf/text/WTFString.h"
namespace WebCore {
@@ -40,7 +40,7 @@ class DOMFileSystemBase;
class EntrySync;
// A common base class for Entry and EntrySync.
-class EntryBase : public RefCounted<EntryBase> {
+class EntryBase : public GarbageCollectedFinalized<EntryBase> {
public:
virtual ~EntryBase();
@@ -54,16 +54,19 @@ public:
String toURL() const;
+ virtual void trace(Visitor*);
+
protected:
- EntryBase(PassRefPtr<DOMFileSystemBase>, const String& fullPath);
+ EntryBase(DOMFileSystemBase*, const String& fullPath);
friend class EntrySync;
- RefPtr<DOMFileSystemBase> m_fileSystem;
+ Member<DOMFileSystemBase> m_fileSystem;
// This is a virtual path.
- String m_fullPath;
+ const String m_fullPath;
+ const String m_name;
- String m_name;
+ mutable String m_cachedURL;
};
}