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

Unified Diff: Source/modules/filesystem/FileWriter.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/FileSystemCallbacks.cpp ('k') | Source/modules/filesystem/FileWriter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/FileWriter.h
diff --git a/Source/modules/filesystem/FileWriter.h b/Source/modules/filesystem/FileWriter.h
index cea0b69299135052d608e35b0ff38b44c74ee511..576013860c7f2650c449681eb1ccee84d752167c 100644
--- a/Source/modules/filesystem/FileWriter.h
+++ b/Source/modules/filesystem/FileWriter.h
@@ -48,10 +48,10 @@ class Blob;
class ExceptionState;
class ExecutionContext;
-class FileWriter FINAL : public ScriptWrappable, public FileWriterBase, public ActiveDOMObject, public EventTargetWithInlineData, public blink::WebFileWriterClient {
- DEFINE_EVENT_TARGET_REFCOUNTING(FileWriterBase);
+class FileWriter FINAL : public FileWriterBase, public ScriptWrappable, public ActiveDOMObject, public EventTargetWithInlineData, public blink::WebFileWriterClient {
+ DEFINE_EVENT_TARGET_REFCOUNTING(RefCountedWillBeRefCountedGarbageCollected<FileWriterBase>);
public:
- static PassRefPtr<FileWriter> create(ExecutionContext*);
+ static PassRefPtrWillBeRawPtr<FileWriter> create(ExecutionContext*);
enum ReadyState {
INIT = 0,
@@ -85,6 +85,8 @@ public:
DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
DEFINE_ATTRIBUTE_EVENT_LISTENER(writeend);
+ virtual void trace(Visitor*) OVERRIDE;
+
private:
enum Operation {
OperationNone,
@@ -107,7 +109,7 @@ private:
void setError(FileError::ErrorCode, ExceptionState&);
- RefPtrWillBePersistent<FileError> m_error;
+ RefPtrWillBeMember<FileError> m_error;
ReadyState m_readyState;
Operation m_operationInProgress;
Operation m_queuedOperation;
@@ -117,7 +119,7 @@ private:
long long m_numAborts;
long long m_recursionDepth;
double m_lastProgressNotificationTimeMS;
- RefPtrWillBePersistent<Blob> m_blobBeingWritten;
+ RefPtrWillBeMember<Blob> m_blobBeingWritten;
};
} // namespace WebCore
« no previous file with comments | « Source/modules/filesystem/FileSystemCallbacks.cpp ('k') | Source/modules/filesystem/FileWriter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698