| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 : public EventTargetWithInlineData | 50 : public EventTargetWithInlineData |
| 51 , public FileWriterBase | 51 , public FileWriterBase |
| 52 #else | 52 #else |
| 53 : public FileWriterBase | 53 : public FileWriterBase |
| 54 , public EventTargetWithInlineData | 54 , public EventTargetWithInlineData |
| 55 #endif | 55 #endif |
| 56 , public ActiveDOMObject | 56 , public ActiveDOMObject |
| 57 , public WebFileWriterClient { | 57 , public WebFileWriterClient { |
| 58 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(FileWriterBase); | 58 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(FileWriterBase); |
| 59 DEFINE_WRAPPERTYPEINFO(); | 59 DEFINE_WRAPPERTYPEINFO(); |
| 60 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(FileWriter); | 60 USING_GARBAGE_COLLECTED_MIXIN(FileWriter); |
| 61 public: | 61 public: |
| 62 static FileWriter* create(ExecutionContext*); | 62 static FileWriter* create(ExecutionContext*); |
| 63 ~FileWriter() override; | 63 ~FileWriter() override; |
| 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 }; |
| 70 | 70 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 long long m_numAborts; | 127 long long m_numAborts; |
| 128 long long m_recursionDepth; | 128 long long m_recursionDepth; |
| 129 double m_lastProgressNotificationTimeMS; | 129 double m_lastProgressNotificationTimeMS; |
| 130 Member<Blob> m_blobBeingWritten; | 130 Member<Blob> m_blobBeingWritten; |
| 131 int m_asyncOperationId; | 131 int m_asyncOperationId; |
| 132 }; | 132 }; |
| 133 | 133 |
| 134 } // namespace blink | 134 } // namespace blink |
| 135 | 135 |
| 136 #endif // FileWriter_h | 136 #endif // FileWriter_h |
| OLD | NEW |