OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012, Google Inc. All rights reserved. | 2 * Copyright (C) 2012, 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 met: | 5 * modification, are permitted provided that the following conditions are met: |
6 * | 6 * |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 18 matching lines...) Expand all Loading... |
29 #include "core/dom/Document.h" | 29 #include "core/dom/Document.h" |
30 #include "core/fileapi/FileError.h" | 30 #include "core/fileapi/FileError.h" |
31 #include "core/frame/DOMWindow.h" | 31 #include "core/frame/DOMWindow.h" |
32 #include "modules/filesystem/DOMFileSystem.h" | 32 #include "modules/filesystem/DOMFileSystem.h" |
33 #include "modules/filesystem/EntryCallback.h" | 33 #include "modules/filesystem/EntryCallback.h" |
34 #include "modules/filesystem/ErrorCallback.h" | 34 #include "modules/filesystem/ErrorCallback.h" |
35 #include "modules/filesystem/FileSystemCallback.h" | 35 #include "modules/filesystem/FileSystemCallback.h" |
36 #include "modules/filesystem/FileSystemCallbacks.h" | 36 #include "modules/filesystem/FileSystemCallbacks.h" |
37 #include "modules/filesystem/LocalFileSystem.h" | 37 #include "modules/filesystem/LocalFileSystem.h" |
38 #include "platform/FileSystemType.h" | 38 #include "platform/FileSystemType.h" |
39 #include "weborigin/SecurityOrigin.h" | 39 #include "platform/weborigin/SecurityOrigin.h" |
40 | 40 |
41 namespace WebCore { | 41 namespace WebCore { |
42 | 42 |
43 DOMWindowFileSystem::DOMWindowFileSystem() | 43 DOMWindowFileSystem::DOMWindowFileSystem() |
44 { | 44 { |
45 } | 45 } |
46 | 46 |
47 DOMWindowFileSystem::~DOMWindowFileSystem() | 47 DOMWindowFileSystem::~DOMWindowFileSystem() |
48 { | 48 { |
49 } | 49 } |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 return; | 92 return; |
93 } | 93 } |
94 | 94 |
95 LocalFileSystem::from(document)->resolveURL(document, completedURL, ResolveU
RICallbacks::create(successCallback, errorCallback, document)); | 95 LocalFileSystem::from(document)->resolveURL(document, completedURL, ResolveU
RICallbacks::create(successCallback, errorCallback, document)); |
96 } | 96 } |
97 | 97 |
98 COMPILE_ASSERT(static_cast<int>(DOMWindowFileSystem::TEMPORARY) == static_cast<i
nt>(FileSystemTypeTemporary), enum_mismatch); | 98 COMPILE_ASSERT(static_cast<int>(DOMWindowFileSystem::TEMPORARY) == static_cast<i
nt>(FileSystemTypeTemporary), enum_mismatch); |
99 COMPILE_ASSERT(static_cast<int>(DOMWindowFileSystem::PERSISTENT) == static_cast<
int>(FileSystemTypePersistent), enum_mismatch); | 99 COMPILE_ASSERT(static_cast<int>(DOMWindowFileSystem::PERSISTENT) == static_cast<
int>(FileSystemTypePersistent), enum_mismatch); |
100 | 100 |
101 } // namespace WebCore | 101 } // namespace WebCore |
OLD | NEW |