| Index: chrome/browser/chromeos/fileapi/file_system_backend_delegate.h
|
| diff --git a/chrome/browser/chromeos/fileapi/cros_mount_point_provider_delegate.h b/chrome/browser/chromeos/fileapi/file_system_backend_delegate.h
|
| similarity index 70%
|
| rename from chrome/browser/chromeos/fileapi/cros_mount_point_provider_delegate.h
|
| rename to chrome/browser/chromeos/fileapi/file_system_backend_delegate.h
|
| index 9b99c4d37792af35eb159b54045927fae136ff7f..4367d2e3286b7531437bf0ba2318d86e7e525175 100644
|
| --- a/chrome/browser/chromeos/fileapi/cros_mount_point_provider_delegate.h
|
| +++ b/chrome/browser/chromeos/fileapi/file_system_backend_delegate.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_BROWSER_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_DELEGATE_H_
|
| -#define CHROME_BROWSER_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_DELEGATE_H_
|
| +#ifndef CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_DELEGATE_H_
|
| +#define CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_DELEGATE_H_
|
|
|
| #include "base/basictypes.h"
|
| #include "base/memory/scoped_ptr.h"
|
| @@ -29,29 +29,29 @@ class FileStreamReader;
|
| namespace chromeos {
|
|
|
| // This is delegate interface to inject the implementation of the some methods
|
| -// of CrosMountPointProvider. The main goal is to inject Drive File System.
|
| -class CrosMountPointProviderDelegate {
|
| +// of FileSystemBackend. The main goal is to inject Drive File System.
|
| +class FileSystemBackendDelegate {
|
| public:
|
| - virtual ~CrosMountPointProviderDelegate() {}
|
| + virtual ~FileSystemBackendDelegate() {}
|
|
|
| - // Called from CrosMountPointProvider::GetAsyncFileUtil().
|
| + // Called from FileSystemBackend::GetAsyncFileUtil().
|
| virtual fileapi::AsyncFileUtil* GetAsyncFileUtil(
|
| fileapi::FileSystemType type) = 0;
|
|
|
| - // Called from CrosMountPointProvider::CreateFileStreamReader().
|
| + // Called from FileSystemBackend::CreateFileStreamReader().
|
| virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader(
|
| const fileapi::FileSystemURL& url,
|
| int64 offset,
|
| const base::Time& expected_modification_time,
|
| fileapi::FileSystemContext* context) = 0;
|
|
|
| - // Called from CrosMountPointProvider::CreateFileStreamWriter().
|
| + // Called from FileSystemBackend::CreateFileStreamWriter().
|
| virtual scoped_ptr<fileapi::FileStreamWriter> CreateFileStreamWriter(
|
| const fileapi::FileSystemURL& url,
|
| int64 offset,
|
| fileapi::FileSystemContext* context) = 0;
|
|
|
| - // Called from CrosMountPointProvider::CreateFileSystemOperation().
|
| + // Called from FileSystemBackend::CreateFileSystemOperation().
|
| // TODO(hidehiko): Get rid of this method when we merge the
|
| // {Remote,Local}FileSystemOperation.
|
| virtual fileapi::FileSystemOperation* CreateFileSystemOperation(
|
| @@ -62,4 +62,4 @@ class CrosMountPointProviderDelegate {
|
|
|
| } // namespace chromeos
|
|
|
| -#endif // CHROME_BROWSER_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_DELEGATE_H_
|
| +#endif // CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_DELEGATE_H_
|
|
|