| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 void abort(ExceptionState&); | 66 void abort(ExceptionState&); |
| 67 ReadyState getReadyState() const { return m_readyState; } | 67 ReadyState getReadyState() const { return m_readyState; } |
| 68 DOMException* error() const { return m_error.get(); } | 68 DOMException* error() const { return m_error.get(); } |
| 69 | 69 |
| 70 // WebFileWriterClient | 70 // WebFileWriterClient |
| 71 void didWrite(long long bytes, bool complete) override; | 71 void didWrite(long long bytes, bool complete) override; |
| 72 void didTruncate() override; | 72 void didTruncate() override; |
| 73 void didFail(WebFileError) override; | 73 void didFail(WebFileError) override; |
| 74 | 74 |
| 75 // ActiveDOMObject | 75 // ActiveDOMObject |
| 76 void stop() override; | 76 void contextDestroyed() override; |
| 77 | 77 |
| 78 // ScriptWrappable | 78 // ScriptWrappable |
| 79 bool hasPendingActivity() const final; | 79 bool hasPendingActivity() const final; |
| 80 | 80 |
| 81 // EventTarget | 81 // EventTarget |
| 82 const AtomicString& interfaceName() const override; | 82 const AtomicString& interfaceName() const override; |
| 83 ExecutionContext* getExecutionContext() const override { | 83 ExecutionContext* getExecutionContext() const override { |
| 84 return ActiveDOMObject::getExecutionContext(); | 84 return ActiveDOMObject::getExecutionContext(); |
| 85 } | 85 } |
| 86 | 86 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 long long m_truncateLength; | 122 long long m_truncateLength; |
| 123 long long m_numAborts; | 123 long long m_numAborts; |
| 124 long long m_recursionDepth; | 124 long long m_recursionDepth; |
| 125 double m_lastProgressNotificationTimeMS; | 125 double m_lastProgressNotificationTimeMS; |
| 126 Member<Blob> m_blobBeingWritten; | 126 Member<Blob> m_blobBeingWritten; |
| 127 }; | 127 }; |
| 128 | 128 |
| 129 } // namespace blink | 129 } // namespace blink |
| 130 | 130 |
| 131 #endif // FileWriter_h | 131 #endif // FileWriter_h |
| OLD | NEW |