Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Unified Diff: chrome/browser/chromeos/arc/fileapi/arc_content_file_system_async_file_util.h

Issue 2411323002: arc: Empty implementation of ARC content file system (Closed)
Patch Set: Address comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_
« no previous file with comments | « chrome/browser/chromeos/BUILD.gn ('k') | chrome/browser/chromeos/arc/fileapi/arc_content_file_system_async_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698