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

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

Issue 2637163002: Defer ARC file system operations while ARC is booting. (Closed)
Patch Set: Review ready. Created 3 years, 11 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_file_system_instance_util.h
diff --git a/chrome/browser/chromeos/arc/fileapi/arc_file_system_instance_util.h b/chrome/browser/chromeos/arc/fileapi/arc_file_system_instance_util.h
deleted file mode 100644
index 0ebc74465d4109130e68fbf35e9e065ab22ee3ee..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/arc/fileapi/arc_file_system_instance_util.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// 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_ARC_FILEAPI_ARC_FILE_SYSTEM_INSTANCE_UTIL_H_
-#define CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_FILE_SYSTEM_INSTANCE_UTIL_H_
-
-#include <string>
-
-#include "components/arc/common/file_system.mojom.h"
-
-class GURL;
-
-namespace arc {
-namespace file_system_instance_util {
-
-using GetFileSizeCallback = mojom::FileSystemInstance::GetFileSizeCallback;
-using OpenFileToReadCallback =
- mojom::FileSystemInstance::OpenFileToReadCallback;
-using GetDocumentCallback = mojom::FileSystemInstance::GetDocumentCallback;
-using GetChildDocumentsCallback =
- mojom::FileSystemInstance::GetChildDocumentsCallback;
-
-// Utility functions to post a task to run FileSystemInstance methods.
-// These functions must be called on the IO thread.
-void GetFileSizeOnIOThread(const GURL& arc_url,
- const GetFileSizeCallback& callback);
-void OpenFileToReadOnIOThread(const GURL& arc_url,
- const OpenFileToReadCallback& callback);
-void GetDocumentOnIOThread(const std::string& authority,
- const std::string& document_id,
- const GetDocumentCallback& callback);
-void GetChildDocumentsOnIOThread(const std::string& authority,
- const std::string& parent_document_id,
- const GetChildDocumentsCallback& callback);
-
-} // namespace file_system_instance_util
-} // namespace arc
-
-#endif // CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_FILE_SYSTEM_INSTANCE_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698