OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 21 matching lines...) Expand all Loading... |
32 #define FileWriter_h | 32 #define FileWriter_h |
33 | 33 |
34 #include "bindings/v8/ScriptWrappable.h" | 34 #include "bindings/v8/ScriptWrappable.h" |
35 #include "core/dom/ActiveDOMObject.h" | 35 #include "core/dom/ActiveDOMObject.h" |
36 #include "core/dom/ExecutionContext.h" | 36 #include "core/dom/ExecutionContext.h" |
37 #include "core/events/EventTarget.h" | 37 #include "core/events/EventTarget.h" |
38 #include "core/fileapi/FileError.h" | 38 #include "core/fileapi/FileError.h" |
39 #include "modules/filesystem/FileWriterBase.h" | 39 #include "modules/filesystem/FileWriterBase.h" |
40 #include "platform/heap/Handle.h" | 40 #include "platform/heap/Handle.h" |
41 #include "public/platform/WebFileWriterClient.h" | 41 #include "public/platform/WebFileWriterClient.h" |
42 #include "wtf/PassRefPtr.h" | |
43 #include "wtf/RefPtr.h" | 42 #include "wtf/RefPtr.h" |
44 | 43 |
45 namespace WebCore { | 44 namespace WebCore { |
46 | 45 |
47 class Blob; | 46 class Blob; |
48 class ExceptionState; | 47 class ExceptionState; |
49 class ExecutionContext; | 48 class ExecutionContext; |
50 | 49 |
51 class FileWriter FINAL : public FileWriterBase, public ScriptWrappable, public A
ctiveDOMObject, public EventTargetWithInlineData, public blink::WebFileWriterCli
ent { | 50 class FileWriter FINAL : public FileWriterBase, public ScriptWrappable, public A
ctiveDOMObject, public EventTargetWithInlineData, public blink::WebFileWriterCli
ent { |
52 DEFINE_EVENT_TARGET_REFCOUNTING(RefCountedWillBeRefCountedGarbageCollected<F
ileWriterBase>); | 51 DEFINE_EVENT_TARGET_REFCOUNTING(RefCountedWillBeRefCountedGarbageCollected<F
ileWriterBase>); |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 long long m_truncateLength; | 117 long long m_truncateLength; |
119 long long m_numAborts; | 118 long long m_numAborts; |
120 long long m_recursionDepth; | 119 long long m_recursionDepth; |
121 double m_lastProgressNotificationTimeMS; | 120 double m_lastProgressNotificationTimeMS; |
122 RefPtrWillBeMember<Blob> m_blobBeingWritten; | 121 RefPtrWillBeMember<Blob> m_blobBeingWritten; |
123 }; | 122 }; |
124 | 123 |
125 } // namespace WebCore | 124 } // namespace WebCore |
126 | 125 |
127 #endif // FileWriter_h | 126 #endif // FileWriter_h |
OLD | NEW |