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

Unified Diff: Source/modules/filesystem/EntryBase.h

Issue 188503002: Oilpan: add transition types to FileSystem APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 9 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
« no previous file with comments | « Source/modules/filesystem/Entry.idl ('k') | Source/modules/filesystem/EntryBase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/EntryBase.h
diff --git a/Source/modules/filesystem/EntryBase.h b/Source/modules/filesystem/EntryBase.h
index 31119d76e85f903f805a1bac9c3bec175d0eca8d..06b87848a144aced0dd7f876c24be3464efb5bac 100644
--- a/Source/modules/filesystem/EntryBase.h
+++ b/Source/modules/filesystem/EntryBase.h
@@ -31,6 +31,7 @@
#ifndef EntryBase_h
#define EntryBase_h
+#include "heap/Handle.h"
#include "wtf/RefCounted.h"
#include "wtf/text/WTFString.h"
@@ -40,7 +41,7 @@ class DOMFileSystemBase;
class EntrySync;
// A common base class for Entry and EntrySync.
-class EntryBase : public RefCounted<EntryBase> {
+class EntryBase : public RefCountedWillBeGarbageCollectedFinalized<EntryBase> {
public:
virtual ~EntryBase();
@@ -54,11 +55,13 @@ public:
String toURL() const;
+ virtual void trace(Visitor*);
+
protected:
- EntryBase(PassRefPtr<DOMFileSystemBase>, const String& fullPath);
+ EntryBase(PassRefPtrWillBeRawPtr<DOMFileSystemBase>, const String& fullPath);
friend class EntrySync;
- RefPtr<DOMFileSystemBase> m_fileSystem;
+ RefPtrWillBeMember<DOMFileSystemBase> m_fileSystem;
// This is a virtual path.
String m_fullPath;
« no previous file with comments | « Source/modules/filesystem/Entry.idl ('k') | Source/modules/filesystem/EntryBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698