| 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 21 matching lines...) Expand all Loading... |
| 32 #include "AsyncFileSystem.h" | 32 #include "AsyncFileSystem.h" |
| 33 | 33 |
| 34 #if ENABLE(FILE_SYSTEM) | 34 #if ENABLE(FILE_SYSTEM) |
| 35 | 35 |
| 36 #include "AsyncFileSystemCallbacks.h" | 36 #include "AsyncFileSystemCallbacks.h" |
| 37 #include "ExceptionCode.h" | 37 #include "ExceptionCode.h" |
| 38 #include "NotImplemented.h" | 38 #include "NotImplemented.h" |
| 39 | 39 |
| 40 namespace WebCore { | 40 namespace WebCore { |
| 41 | 41 |
| 42 #if !PLATFORM(CHROMIUM) && !PLATFORM(GTK) && !PLATFORM(BLACKBERRY) | 42 #if !PLATFORM(CHROMIUM) && !PLATFORM(GTK) |
| 43 bool AsyncFileSystem::isAvailable() | 43 bool AsyncFileSystem::isAvailable() |
| 44 { | 44 { |
| 45 notImplemented(); | 45 notImplemented(); |
| 46 return false; | 46 return false; |
| 47 } | 47 } |
| 48 | 48 |
| 49 void AsyncFileSystem::openFileSystem(const String& basePath, const String& stora
geIdentifier, FileSystemType, bool, PassOwnPtr<AsyncFileSystemCallbacks> callbac
ks) | 49 void AsyncFileSystem::openFileSystem(const String& basePath, const String& stora
geIdentifier, FileSystemType, bool, PassOwnPtr<AsyncFileSystemCallbacks> callbac
ks) |
| 50 { | 50 { |
| 51 notImplemented(); | 51 notImplemented(); |
| 52 callbacks->didFail(NOT_SUPPORTED_ERR); | 52 callbacks->didFail(NOT_SUPPORTED_ERR); |
| 53 } | 53 } |
| 54 | 54 |
| 55 void AsyncFileSystem::deleteFileSystem(const String& basePath, const String& sto
rageIdentifier, FileSystemType type, PassOwnPtr<AsyncFileSystemCallbacks> callba
cks) | 55 void AsyncFileSystem::deleteFileSystem(const String& basePath, const String& sto
rageIdentifier, FileSystemType type, PassOwnPtr<AsyncFileSystemCallbacks> callba
cks) |
| 56 { | 56 { |
| 57 notImplemented(); | 57 notImplemented(); |
| 58 callbacks->didFail(NOT_SUPPORTED_ERR); | 58 callbacks->didFail(NOT_SUPPORTED_ERR); |
| 59 } | 59 } |
| 60 #endif | 60 #endif |
| 61 | 61 |
| 62 } // namespace | 62 } // namespace |
| 63 | 63 |
| 64 #endif // ENABLE(FILE_SYSTEM) | 64 #endif // ENABLE(FILE_SYSTEM) |
| OLD | NEW |