| 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 26 matching lines...) Expand all Loading... |
| 37 #include "modules/filesystem/DirectoryEntry.h" | 37 #include "modules/filesystem/DirectoryEntry.h" |
| 38 #include "modules/filesystem/FileEntry.h" | 38 #include "modules/filesystem/FileEntry.h" |
| 39 #include "modules/filesystem/FileSystemCallbacks.h" | 39 #include "modules/filesystem/FileSystemCallbacks.h" |
| 40 #include "modules/filesystem/FileWriter.h" | 40 #include "modules/filesystem/FileWriter.h" |
| 41 #include "modules/filesystem/FileWriterBaseCallback.h" | 41 #include "modules/filesystem/FileWriterBaseCallback.h" |
| 42 #include "modules/filesystem/FileWriterCallback.h" | 42 #include "modules/filesystem/FileWriterCallback.h" |
| 43 #include "modules/filesystem/MetadataCallback.h" | 43 #include "modules/filesystem/MetadataCallback.h" |
| 44 #include "platform/FileMetadata.h" | 44 #include "platform/FileMetadata.h" |
| 45 #include "platform/WebTaskRunner.h" | 45 #include "platform/WebTaskRunner.h" |
| 46 #include "platform/weborigin/SecurityOrigin.h" | 46 #include "platform/weborigin/SecurityOrigin.h" |
| 47 #include "platform/wtf/text/StringBuilder.h" |
| 48 #include "platform/wtf/text/WTFString.h" |
| 47 #include "public/platform/Platform.h" | 49 #include "public/platform/Platform.h" |
| 48 #include "public/platform/WebFileSystem.h" | 50 #include "public/platform/WebFileSystem.h" |
| 49 #include "public/platform/WebFileSystemCallbacks.h" | 51 #include "public/platform/WebFileSystemCallbacks.h" |
| 50 #include "public/platform/WebSecurityOrigin.h" | 52 #include "public/platform/WebSecurityOrigin.h" |
| 51 #include "wtf/text/StringBuilder.h" | |
| 52 #include "wtf/text/WTFString.h" | |
| 53 | 53 |
| 54 namespace blink { | 54 namespace blink { |
| 55 | 55 |
| 56 namespace { | 56 namespace { |
| 57 | 57 |
| 58 void RunCallback(ExecutionContext* execution_context, | 58 void RunCallback(ExecutionContext* execution_context, |
| 59 std::unique_ptr<WTF::Closure> task) { | 59 std::unique_ptr<WTF::Closure> task) { |
| 60 if (!execution_context) | 60 if (!execution_context) |
| 61 return; | 61 return; |
| 62 DCHECK(execution_context->IsContextThread()); | 62 DCHECK(execution_context->IsContextThread()); |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 WTF::Passed(std::move(task)))); | 215 WTF::Passed(std::move(task)))); |
| 216 } | 216 } |
| 217 | 217 |
| 218 DEFINE_TRACE(DOMFileSystem) { | 218 DEFINE_TRACE(DOMFileSystem) { |
| 219 visitor->Trace(root_entry_); | 219 visitor->Trace(root_entry_); |
| 220 DOMFileSystemBase::Trace(visitor); | 220 DOMFileSystemBase::Trace(visitor); |
| 221 ContextClient::Trace(visitor); | 221 ContextClient::Trace(visitor); |
| 222 } | 222 } |
| 223 | 223 |
| 224 } // namespace blink | 224 } // namespace blink |
| OLD | NEW |