| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 class FileWriterSync final | 45 class FileWriterSync final |
| 46 #if ENABLE(OILPAN) | 46 #if ENABLE(OILPAN) |
| 47 : public GarbageCollectedFinalized<FileWriterSync> | 47 : public GarbageCollectedFinalized<FileWriterSync> |
| 48 , public FileWriterBase | 48 , public FileWriterBase |
| 49 #else | 49 #else |
| 50 : public FileWriterBase | 50 : public FileWriterBase |
| 51 #endif | 51 #endif |
| 52 , public ScriptWrappable | 52 , public ScriptWrappable |
| 53 , public WebFileWriterClient { | 53 , public WebFileWriterClient { |
| 54 DEFINE_WRAPPERTYPEINFO(); | 54 DEFINE_WRAPPERTYPEINFO(); |
| 55 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(FileWriterSync); | 55 USING_GARBAGE_COLLECTED_MIXIN(FileWriterSync); |
| 56 public: | 56 public: |
| 57 static FileWriterSync* create() | 57 static FileWriterSync* create() |
| 58 { | 58 { |
| 59 return new FileWriterSync(); | 59 return new FileWriterSync(); |
| 60 } | 60 } |
| 61 ~FileWriterSync() override; | 61 ~FileWriterSync() override; |
| 62 DECLARE_VIRTUAL_TRACE(); | 62 DECLARE_VIRTUAL_TRACE(); |
| 63 | 63 |
| 64 // FileWriterBase | 64 // FileWriterBase |
| 65 void write(Blob*, ExceptionState&); | 65 void write(Blob*, ExceptionState&); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 77 | 77 |
| 78 FileError::ErrorCode m_error; | 78 FileError::ErrorCode m_error; |
| 79 #if ENABLE(ASSERT) | 79 #if ENABLE(ASSERT) |
| 80 bool m_complete; | 80 bool m_complete; |
| 81 #endif | 81 #endif |
| 82 }; | 82 }; |
| 83 | 83 |
| 84 } // namespace blink | 84 } // namespace blink |
| 85 | 85 |
| 86 #endif // FileWriterSync_h | 86 #endif // FileWriterSync_h |
| OLD | NEW |