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