| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 #include "modules/filesystem/ErrorCallback.h" | 44 #include "modules/filesystem/ErrorCallback.h" |
| 45 #include "modules/filesystem/FileSystemCallbacks.h" | 45 #include "modules/filesystem/FileSystemCallbacks.h" |
| 46 #include "modules/filesystem/MetadataCallback.h" | 46 #include "modules/filesystem/MetadataCallback.h" |
| 47 #include "platform/weborigin/SecurityOrigin.h" | 47 #include "platform/weborigin/SecurityOrigin.h" |
| 48 #include "public/platform/Platform.h" | 48 #include "public/platform/Platform.h" |
| 49 #include "public/platform/WebFileSystem.h" | 49 #include "public/platform/WebFileSystem.h" |
| 50 #include "public/platform/WebFileSystemCallbacks.h" | 50 #include "public/platform/WebFileSystemCallbacks.h" |
| 51 #include "wtf/OwnPtr.h" | 51 #include "wtf/OwnPtr.h" |
| 52 #include "wtf/text/StringBuilder.h" | 52 #include "wtf/text/StringBuilder.h" |
| 53 | 53 |
| 54 namespace WebCore { | 54 namespace blink { |
| 55 | 55 |
| 56 const char DOMFileSystemBase::persistentPathPrefix[] = "persistent"; | 56 const char DOMFileSystemBase::persistentPathPrefix[] = "persistent"; |
| 57 const char DOMFileSystemBase::temporaryPathPrefix[] = "temporary"; | 57 const char DOMFileSystemBase::temporaryPathPrefix[] = "temporary"; |
| 58 const char DOMFileSystemBase::isolatedPathPrefix[] = "isolated"; | 58 const char DOMFileSystemBase::isolatedPathPrefix[] = "isolated"; |
| 59 const char DOMFileSystemBase::externalPathPrefix[] = "external"; | 59 const char DOMFileSystemBase::externalPathPrefix[] = "external"; |
| 60 | 60 |
| 61 DOMFileSystemBase::DOMFileSystemBase(ExecutionContext* context, const String& na
me, FileSystemType type, const KURL& rootURL) | 61 DOMFileSystemBase::DOMFileSystemBase(ExecutionContext* context, const String& na
me, FileSystemType type, const KURL& rootURL) |
| 62 : m_context(context) | 62 : m_context(context) |
| 63 , m_name(name) | 63 , m_name(name) |
| 64 , m_type(type) | 64 , m_type(type) |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 callbacks->setShouldBlockUntilCompletion(synchronousType == Synchronous); | 328 callbacks->setShouldBlockUntilCompletion(synchronousType == Synchronous); |
| 329 | 329 |
| 330 return fileSystem()->readDirectory(createFileSystemURL(path), callbacks.rele
ase()); | 330 return fileSystem()->readDirectory(createFileSystemURL(path), callbacks.rele
ase()); |
| 331 } | 331 } |
| 332 | 332 |
| 333 bool DOMFileSystemBase::waitForAdditionalResult(int callbacksId) | 333 bool DOMFileSystemBase::waitForAdditionalResult(int callbacksId) |
| 334 { | 334 { |
| 335 return fileSystem()->waitForAdditionalResult(callbacksId); | 335 return fileSystem()->waitForAdditionalResult(callbacksId); |
| 336 } | 336 } |
| 337 | 337 |
| 338 } // namespace WebCore | 338 } // namespace blink |
| OLD | NEW |