| Index: chrome/browser/chromeos/file_system_provider/fileapi/backend_delegate.h
|
| diff --git a/chrome/browser/chromeos/drive/fileapi/file_system_backend_delegate.h b/chrome/browser/chromeos/file_system_provider/fileapi/backend_delegate.h
|
| similarity index 61%
|
| copy from chrome/browser/chromeos/drive/fileapi/file_system_backend_delegate.h
|
| copy to chrome/browser/chromeos/file_system_provider/fileapi/backend_delegate.h
|
| index 0d859c97859aec3008e99e7d85eb7b6e748c1db5..c4794486888bc1a2d8ab59ab3d8fd590d8b94270 100644
|
| --- a/chrome/browser/chromeos/drive/fileapi/file_system_backend_delegate.h
|
| +++ b/chrome/browser/chromeos/file_system_provider/fileapi/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_DRIVE_FILEAPI_FILE_SYSTEM_BACKEND_DELEGATE_H_
|
| -#define CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_FILE_SYSTEM_BACKEND_DELEGATE_H_
|
| +#ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_BACKEND_DELEGATE_H_
|
| +#define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_BACKEND_DELEGATE_H_
|
|
|
| #include "base/basictypes.h"
|
| #include "base/memory/scoped_ptr.h"
|
| @@ -13,18 +13,19 @@ namespace fileapi {
|
| class AsyncFileUtil;
|
| } // namespace fileapi
|
|
|
| -namespace drive {
|
| +namespace chromeos {
|
| +namespace file_system_provider {
|
|
|
| // Delegate implementation of the some methods in chromeos::FileSystemBackend
|
| -// for Drive file system.
|
| -class FileSystemBackendDelegate : public chromeos::FileSystemBackendDelegate {
|
| +// for provided file systems.
|
| +class BackendDelegate : public chromeos::FileSystemBackendDelegate {
|
| public:
|
| - FileSystemBackendDelegate();
|
| - virtual ~FileSystemBackendDelegate();
|
| + BackendDelegate();
|
| + virtual ~BackendDelegate();
|
|
|
| // FileSystemBackend::Delegate overrides.
|
| - virtual fileapi::AsyncFileUtil* GetAsyncFileUtil(
|
| - fileapi::FileSystemType type) OVERRIDE;
|
| + virtual fileapi::AsyncFileUtil* GetAsyncFileUtil(fileapi::FileSystemType type)
|
| + OVERRIDE;
|
| virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader(
|
| const fileapi::FileSystemURL& url,
|
| int64 offset,
|
| @@ -38,9 +39,10 @@ class FileSystemBackendDelegate : public chromeos::FileSystemBackendDelegate {
|
| private:
|
| scoped_ptr<fileapi::AsyncFileUtil> async_file_util_;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(FileSystemBackendDelegate);
|
| + DISALLOW_COPY_AND_ASSIGN(BackendDelegate);
|
| };
|
|
|
| -} // namespace drive
|
| +} // namespace file_system_provider
|
| +} // namespace chromeos
|
|
|
| -#endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_FILE_SYSTEM_BACKEND_DELEGATE_H_
|
| +#endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_BACKEND_DELEGATE_H_
|
|
|