| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "webkit/fileapi/isolated_mount_point_provider.h" | 5 #include "webkit/fileapi/isolated_mount_point_provider.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 int64 offset, | 112 int64 offset, |
| 113 FileSystemContext* context) const { | 113 FileSystemContext* context) const { |
| 114 return new LocalFileStreamWriter(url.path(), offset); | 114 return new LocalFileStreamWriter(url.path(), offset); |
| 115 } | 115 } |
| 116 | 116 |
| 117 FileSystemQuotaUtil* IsolatedMountPointProvider::GetQuotaUtil() { | 117 FileSystemQuotaUtil* IsolatedMountPointProvider::GetQuotaUtil() { |
| 118 // No quota support. | 118 // No quota support. |
| 119 return NULL; | 119 return NULL; |
| 120 } | 120 } |
| 121 | 121 |
| 122 void IsolatedMountPointProvider::DeleteFileSystem( |
| 123 const GURL& origin_url, |
| 124 FileSystemType type, |
| 125 FileSystemContext* context, |
| 126 const DeleteFileSystemCallback& callback) const { |
| 127 NOTREACHED(); |
| 128 callback.Run(base::PLATFORM_FILE_ERROR_INVALID_OPERATION); |
| 129 } |
| 130 |
| 122 } // namespace fileapi | 131 } // namespace fileapi |
| OLD | NEW |