| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 class FileWriter final | 49 class FileWriter final |
| 50 #if ENABLE(OILPAN) | 50 #if ENABLE(OILPAN) |
| 51 : public EventTargetWithInlineData | 51 : public EventTargetWithInlineData |
| 52 , public FileWriterBase | 52 , public FileWriterBase |
| 53 #else | 53 #else |
| 54 : public FileWriterBase | 54 : public FileWriterBase |
| 55 , public EventTargetWithInlineData | 55 , public EventTargetWithInlineData |
| 56 #endif | 56 #endif |
| 57 , public ActiveDOMObject | 57 , public ActiveDOMObject |
| 58 , public WebFileWriterClient { | 58 , public WebFileWriterClient { |
| 59 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<F
ileWriterBase>); | 59 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(FileWriterBase); |
| 60 DEFINE_WRAPPERTYPEINFO(); | 60 DEFINE_WRAPPERTYPEINFO(); |
| 61 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(FileWriter); | 61 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(FileWriter); |
| 62 public: | 62 public: |
| 63 static FileWriter* create(ExecutionContext*); | 63 static FileWriter* create(ExecutionContext*); |
| 64 | 64 |
| 65 enum ReadyState { | 65 enum ReadyState { |
| 66 INIT = 0, | 66 INIT = 0, |
| 67 WRITING = 1, | 67 WRITING = 1, |
| 68 DONE = 2 | 68 DONE = 2 |
| 69 }; | 69 }; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 long long m_numAborts; | 129 long long m_numAborts; |
| 130 long long m_recursionDepth; | 130 long long m_recursionDepth; |
| 131 double m_lastProgressNotificationTimeMS; | 131 double m_lastProgressNotificationTimeMS; |
| 132 Member<Blob> m_blobBeingWritten; | 132 Member<Blob> m_blobBeingWritten; |
| 133 int m_asyncOperationId; | 133 int m_asyncOperationId; |
| 134 }; | 134 }; |
| 135 | 135 |
| 136 } // namespace blink | 136 } // namespace blink |
| 137 | 137 |
| 138 #endif // FileWriter_h | 138 #endif // FileWriter_h |
| OLD | NEW |