| 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 29 matching lines...) Expand all Loading... |
| 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 | 42 |
| 43 namespace blink { | 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 | 49 class FileWriter final |
| 50 #if ENABLE(OILPAN) | |
| 51 : public EventTargetWithInlineData | 50 : public EventTargetWithInlineData |
| 52 , public FileWriterBase | 51 , public FileWriterBase |
| 53 #else | |
| 54 : public FileWriterBase | |
| 55 , public EventTargetWithInlineData | |
| 56 #endif | |
| 57 , public ActiveScriptWrappable | 52 , public ActiveScriptWrappable |
| 58 , public ActiveDOMObject | 53 , public ActiveDOMObject |
| 59 , public WebFileWriterClient { | 54 , public WebFileWriterClient { |
| 60 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(FileWriterBase); | 55 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(FileWriterBase); |
| 61 DEFINE_WRAPPERTYPEINFO(); | 56 DEFINE_WRAPPERTYPEINFO(); |
| 62 USING_GARBAGE_COLLECTED_MIXIN(FileWriter); | 57 USING_GARBAGE_COLLECTED_MIXIN(FileWriter); |
| 63 public: | 58 public: |
| 64 static FileWriter* create(ExecutionContext*); | 59 static FileWriter* create(ExecutionContext*); |
| 65 ~FileWriter() override; | 60 ~FileWriter() override; |
| 66 | 61 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 long long m_truncateLength; | 125 long long m_truncateLength; |
| 131 long long m_numAborts; | 126 long long m_numAborts; |
| 132 long long m_recursionDepth; | 127 long long m_recursionDepth; |
| 133 double m_lastProgressNotificationTimeMS; | 128 double m_lastProgressNotificationTimeMS; |
| 134 Member<Blob> m_blobBeingWritten; | 129 Member<Blob> m_blobBeingWritten; |
| 135 }; | 130 }; |
| 136 | 131 |
| 137 } // namespace blink | 132 } // namespace blink |
| 138 | 133 |
| 139 #endif // FileWriter_h | 134 #endif // FileWriter_h |
| OLD | NEW |