| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "storage/browser/fileapi/plugin_private_file_system_backend.h" | 5 #include "storage/browser/fileapi/plugin_private_file_system_backend.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 | 8 |
| 9 #include "base/stl_util.h" | 9 #include "base/stl_util.h" |
| 10 #include "base/synchronization/lock.h" | 10 #include "base/synchronization/lock.h" |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 | 266 |
| 267 scoped_refptr<QuotaReservation> | 267 scoped_refptr<QuotaReservation> |
| 268 PluginPrivateFileSystemBackend::CreateQuotaReservationOnFileTaskRunner( | 268 PluginPrivateFileSystemBackend::CreateQuotaReservationOnFileTaskRunner( |
| 269 const GURL& origin_url, | 269 const GURL& origin_url, |
| 270 FileSystemType type) { | 270 FileSystemType type) { |
| 271 // We don't track usage on this filesystem. | 271 // We don't track usage on this filesystem. |
| 272 NOTREACHED(); | 272 NOTREACHED(); |
| 273 return scoped_refptr<QuotaReservation>(); | 273 return scoped_refptr<QuotaReservation>(); |
| 274 } | 274 } |
| 275 | 275 |
| 276 void PluginPrivateFileSystemBackend::AddFileUpdateObserver( | |
| 277 FileSystemType type, | |
| 278 FileUpdateObserver* observer, | |
| 279 base::SequencedTaskRunner* task_runner) {} | |
| 280 | |
| 281 void PluginPrivateFileSystemBackend::AddFileChangeObserver( | |
| 282 FileSystemType type, | |
| 283 FileChangeObserver* observer, | |
| 284 base::SequencedTaskRunner* task_runner) {} | |
| 285 | |
| 286 void PluginPrivateFileSystemBackend::AddFileAccessObserver( | |
| 287 FileSystemType type, | |
| 288 FileAccessObserver* observer, | |
| 289 base::SequencedTaskRunner* task_runner) {} | |
| 290 | |
| 291 const UpdateObserverList* PluginPrivateFileSystemBackend::GetUpdateObservers( | 276 const UpdateObserverList* PluginPrivateFileSystemBackend::GetUpdateObservers( |
| 292 FileSystemType type) const { | 277 FileSystemType type) const { |
| 293 return NULL; | 278 return NULL; |
| 294 } | 279 } |
| 295 | 280 |
| 296 const ChangeObserverList* PluginPrivateFileSystemBackend::GetChangeObservers( | 281 const ChangeObserverList* PluginPrivateFileSystemBackend::GetChangeObservers( |
| 297 FileSystemType type) const { | 282 FileSystemType type) const { |
| 298 return NULL; | 283 return NULL; |
| 299 } | 284 } |
| 300 | 285 |
| 301 const AccessObserverList* PluginPrivateFileSystemBackend::GetAccessObservers( | 286 const AccessObserverList* PluginPrivateFileSystemBackend::GetAccessObservers( |
| 302 FileSystemType type) const { | 287 FileSystemType type) const { |
| 303 return NULL; | 288 return NULL; |
| 304 } | 289 } |
| 305 | 290 |
| 306 ObfuscatedFileUtil* PluginPrivateFileSystemBackend::obfuscated_file_util() { | 291 ObfuscatedFileUtil* PluginPrivateFileSystemBackend::obfuscated_file_util() { |
| 307 return static_cast<ObfuscatedFileUtil*>( | 292 return static_cast<ObfuscatedFileUtil*>( |
| 308 static_cast<AsyncFileUtilAdapter*>(file_util_.get())->sync_file_util()); | 293 static_cast<AsyncFileUtilAdapter*>(file_util_.get())->sync_file_util()); |
| 309 } | 294 } |
| 310 | 295 |
| 311 } // namespace storage | 296 } // namespace storage |
| OLD | NEW |