| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 ActiveScriptWrappable | 57 , public ActiveScriptWrappable |
| 58 , public ActiveDOMObject | 58 , public ActiveDOMObject |
| 59 , public WebFileWriterClient { | 59 , public WebFileWriterClient { |
| 60 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(FileWriterBase); | 60 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(FileWriterBase); |
| 61 DEFINE_WRAPPERTYPEINFO(); | 61 DEFINE_WRAPPERTYPEINFO(); |
| 62 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(FileWriter); | 62 USING_GARBAGE_COLLECTED_MIXIN(FileWriter); |
| 63 public: | 63 public: |
| 64 static FileWriter* create(ExecutionContext*); | 64 static FileWriter* create(ExecutionContext*); |
| 65 ~FileWriter() override; | 65 ~FileWriter() override; |
| 66 | 66 |
| 67 enum ReadyState { | 67 enum ReadyState { |
| 68 INIT = 0, | 68 INIT = 0, |
| 69 WRITING = 1, | 69 WRITING = 1, |
| 70 DONE = 2 | 70 DONE = 2 |
| 71 }; | 71 }; |
| 72 | 72 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 long long m_numAborts; | 131 long long m_numAborts; |
| 132 long long m_recursionDepth; | 132 long long m_recursionDepth; |
| 133 double m_lastProgressNotificationTimeMS; | 133 double m_lastProgressNotificationTimeMS; |
| 134 Member<Blob> m_blobBeingWritten; | 134 Member<Blob> m_blobBeingWritten; |
| 135 int m_asyncOperationId; | 135 int m_asyncOperationId; |
| 136 }; | 136 }; |
| 137 | 137 |
| 138 } // namespace blink | 138 } // namespace blink |
| 139 | 139 |
| 140 #endif // FileWriter_h | 140 #endif // FileWriter_h |
| OLD | NEW |