| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_BACKEND_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_BACKEND_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_BACKEND_DELEGATE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_BACKEND_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 const storage::FileSystemURL& url, | 36 const storage::FileSystemURL& url, |
| 37 int64 offset, | 37 int64 offset, |
| 38 const base::Time& expected_modification_time, | 38 const base::Time& expected_modification_time, |
| 39 storage::FileSystemContext* context) OVERRIDE; | 39 storage::FileSystemContext* context) OVERRIDE; |
| 40 virtual scoped_ptr<storage::FileStreamWriter> CreateFileStreamWriter( | 40 virtual scoped_ptr<storage::FileStreamWriter> CreateFileStreamWriter( |
| 41 const storage::FileSystemURL& url, | 41 const storage::FileSystemURL& url, |
| 42 int64 offset, | 42 int64 offset, |
| 43 storage::FileSystemContext* context) OVERRIDE; | 43 storage::FileSystemContext* context) OVERRIDE; |
| 44 virtual storage::WatcherManager* GetWatcherManager( | 44 virtual storage::WatcherManager* GetWatcherManager( |
| 45 const storage::FileSystemURL& url) OVERRIDE; | 45 const storage::FileSystemURL& url) OVERRIDE; |
| 46 virtual void GetAlternativeURL( |
| 47 const storage::FileSystemURL& url, |
| 48 base::Callback<void(const GURL& url)> callback) OVERRIDE; |
| 46 | 49 |
| 47 private: | 50 private: |
| 48 scoped_ptr<storage::AsyncFileUtil> async_file_util_; | 51 scoped_ptr<storage::AsyncFileUtil> async_file_util_; |
| 49 | 52 |
| 50 DISALLOW_COPY_AND_ASSIGN(BackendDelegate); | 53 DISALLOW_COPY_AND_ASSIGN(BackendDelegate); |
| 51 }; | 54 }; |
| 52 | 55 |
| 53 } // namespace file_system_provider | 56 } // namespace file_system_provider |
| 54 } // namespace chromeos | 57 } // namespace chromeos |
| 55 | 58 |
| 56 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_BACKEND_DELEGATE
_H_ | 59 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_BACKEND_DELEGATE
_H_ |
| OLD | NEW |