| Index: chrome/browser/chromeos/arc/fileapi/arc_content_file_system_async_file_util.h
|
| diff --git a/chrome/browser/chromeos/drive/fileapi/async_file_util.h b/chrome/browser/chromeos/arc/fileapi/arc_content_file_system_async_file_util.h
|
| similarity index 82%
|
| copy from chrome/browser/chromeos/drive/fileapi/async_file_util.h
|
| copy to chrome/browser/chromeos/arc/fileapi/arc_content_file_system_async_file_util.h
|
| index 0b236f21885d7451dba939fac637746d7364737c..550c1ba984b58185300715b489d3ff878e5e2957 100644
|
| --- a/chrome/browser/chromeos/drive/fileapi/async_file_util.h
|
| +++ b/chrome/browser/chromeos/arc/fileapi/arc_content_file_system_async_file_util.h
|
| @@ -1,29 +1,18 @@
|
| -// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| // 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_ASYNC_FILE_UTIL_H_
|
| -#define CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_ASYNC_FILE_UTIL_H_
|
| +#ifndef CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_CONTENT_FILE_SYSTEM_ASYNC_FILE_UTIL_H_
|
| +#define CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_CONTENT_FILE_SYSTEM_ASYNC_FILE_UTIL_H_
|
|
|
| -#include <stdint.h>
|
| -
|
| -#include <memory>
|
| -
|
| -#include "base/callback.h"
|
| -#include "base/macros.h"
|
| #include "storage/browser/fileapi/async_file_util.h"
|
|
|
| -namespace drive {
|
| -
|
| -class FileSystemInterface;
|
| -
|
| -namespace internal {
|
| +namespace arc {
|
|
|
| -// The implementation of storage::AsyncFileUtil for Drive File System.
|
| -class AsyncFileUtil : public storage::AsyncFileUtil {
|
| +class ArcContentFileSystemAsyncFileUtil : public storage::AsyncFileUtil {
|
| public:
|
| - AsyncFileUtil();
|
| - ~AsyncFileUtil() override;
|
| + ArcContentFileSystemAsyncFileUtil();
|
| + ~ArcContentFileSystemAsyncFileUtil() override;
|
|
|
| // storage::AsyncFileUtil overrides.
|
| void CreateOrOpen(
|
| @@ -93,10 +82,9 @@ class AsyncFileUtil : public storage::AsyncFileUtil {
|
| const CreateSnapshotFileCallback& callback) override;
|
|
|
| private:
|
| - DISALLOW_COPY_AND_ASSIGN(AsyncFileUtil);
|
| + DISALLOW_COPY_AND_ASSIGN(ArcContentFileSystemAsyncFileUtil);
|
| };
|
|
|
| -} // namespace internal
|
| -} // namespace drive
|
| +} // namespace arc
|
|
|
| -#endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_ASYNC_FILE_UTIL_H_
|
| +#endif // CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_CONTENT_FILE_SYSTEM_ASYNC_FILE_UTIL_H_
|
|
|