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 22 matching lines...) Expand all Loading... |
33 | 33 |
34 #include "core/dom/ActiveDOMObject.h" | 34 #include "core/dom/ActiveDOMObject.h" |
35 #include "core/dom/ExecutionContext.h" | 35 #include "core/dom/ExecutionContext.h" |
36 #include "core/fileapi/FileError.h" | 36 #include "core/fileapi/FileError.h" |
37 #include "modules/EventTargetModules.h" | 37 #include "modules/EventTargetModules.h" |
38 #include "modules/filesystem/FileWriterBase.h" | 38 #include "modules/filesystem/FileWriterBase.h" |
39 #include "platform/heap/Handle.h" | 39 #include "platform/heap/Handle.h" |
40 #include "public/platform/WebFileWriterClient.h" | 40 #include "public/platform/WebFileWriterClient.h" |
41 #include "wtf/RefPtr.h" | 41 #include "wtf/RefPtr.h" |
42 | 42 |
43 namespace WebCore { | 43 namespace blink { |
44 | 44 |
45 class Blob; | 45 class Blob; |
46 class ExceptionState; | 46 class ExceptionState; |
47 class ExecutionContext; | 47 class ExecutionContext; |
48 | 48 |
49 class FileWriter FINAL : public FileWriterBase, public ActiveDOMObject, public E
ventTargetWithInlineData, public blink::WebFileWriterClient { | 49 class FileWriter FINAL : public FileWriterBase, public ActiveDOMObject, public E
ventTargetWithInlineData, public blink::WebFileWriterClient { |
50 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<F
ileWriterBase>); | 50 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<F
ileWriterBase>); |
51 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(FileWriter); | 51 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(FileWriter); |
52 public: | 52 public: |
53 static FileWriter* create(ExecutionContext*); | 53 static FileWriter* create(ExecutionContext*); |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 Operation m_queuedOperation; | 115 Operation m_queuedOperation; |
116 long long m_bytesWritten; | 116 long long m_bytesWritten; |
117 long long m_bytesToWrite; | 117 long long m_bytesToWrite; |
118 long long m_truncateLength; | 118 long long m_truncateLength; |
119 long long m_numAborts; | 119 long long m_numAborts; |
120 long long m_recursionDepth; | 120 long long m_recursionDepth; |
121 double m_lastProgressNotificationTimeMS; | 121 double m_lastProgressNotificationTimeMS; |
122 RefPtrWillBeMember<Blob> m_blobBeingWritten; | 122 RefPtrWillBeMember<Blob> m_blobBeingWritten; |
123 }; | 123 }; |
124 | 124 |
125 } // namespace WebCore | 125 } // namespace blink |
126 | 126 |
127 #endif // FileWriter_h | 127 #endif // FileWriter_h |
OLD | NEW |