| 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 23 matching lines...) Expand all Loading... |
| 34 #include "bindings/core/v8/StringOrArrayBuffer.h" | 34 #include "bindings/core/v8/StringOrArrayBuffer.h" |
| 35 #include "core/dom/DOMArrayBuffer.h" | 35 #include "core/dom/DOMArrayBuffer.h" |
| 36 #include "core/dom/Document.h" | 36 #include "core/dom/Document.h" |
| 37 #include "core/dom/ExceptionCode.h" | 37 #include "core/dom/ExceptionCode.h" |
| 38 #include "core/dom/ExecutionContext.h" | 38 #include "core/dom/ExecutionContext.h" |
| 39 #include "core/dom/TaskRunnerHelper.h" | 39 #include "core/dom/TaskRunnerHelper.h" |
| 40 #include "core/events/ProgressEvent.h" | 40 #include "core/events/ProgressEvent.h" |
| 41 #include "core/fileapi/File.h" | 41 #include "core/fileapi/File.h" |
| 42 #include "core/probe/CoreProbes.h" | 42 #include "core/probe/CoreProbes.h" |
| 43 #include "platform/Supplementable.h" | 43 #include "platform/Supplementable.h" |
| 44 #include "wtf/AutoReset.h" | 44 #include "platform/wtf/AutoReset.h" |
| 45 #include "wtf/CurrentTime.h" | 45 #include "platform/wtf/CurrentTime.h" |
| 46 #include "wtf/Deque.h" | 46 #include "platform/wtf/Deque.h" |
| 47 #include "wtf/HashSet.h" | 47 #include "platform/wtf/HashSet.h" |
| 48 #include "wtf/text/CString.h" | 48 #include "platform/wtf/text/CString.h" |
| 49 | 49 |
| 50 namespace blink { | 50 namespace blink { |
| 51 | 51 |
| 52 namespace { | 52 namespace { |
| 53 | 53 |
| 54 const CString Utf8BlobUUID(Blob* blob) { | 54 const CString Utf8BlobUUID(Blob* blob) { |
| 55 return blob->Uuid().Utf8(); | 55 return blob->Uuid().Utf8(); |
| 56 } | 56 } |
| 57 | 57 |
| 58 const CString Utf8FilePath(Blob* blob) { | 58 const CString Utf8FilePath(Blob* blob) { |
| (...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 467 ProgressEvent::Create(type, false, loader_->BytesLoaded(), 0)); | 467 ProgressEvent::Create(type, false, loader_->BytesLoaded(), 0)); |
| 468 } | 468 } |
| 469 | 469 |
| 470 DEFINE_TRACE(FileReader) { | 470 DEFINE_TRACE(FileReader) { |
| 471 visitor->Trace(error_); | 471 visitor->Trace(error_); |
| 472 EventTargetWithInlineData::Trace(visitor); | 472 EventTargetWithInlineData::Trace(visitor); |
| 473 ContextLifecycleObserver::Trace(visitor); | 473 ContextLifecycleObserver::Trace(visitor); |
| 474 } | 474 } |
| 475 | 475 |
| 476 } // namespace blink | 476 } // namespace blink |
| OLD | NEW |