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

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

Issue 2511973003: Use ArcFileSystemInstance to access files on ARC. (Closed)
Patch Set: Rebased to ToT. Created 4 years 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/intent_helper_util.h
diff --git a/chrome/browser/chromeos/arc/fileapi/intent_helper_util.h b/chrome/browser/chromeos/arc/fileapi/intent_helper_util.h
deleted file mode 100644
index 0944dd2c6c0baadc12b510461557688d5fe5704f..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/arc/fileapi/intent_helper_util.h
+++ /dev/null
@@ -1,32 +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_INTENT_HELPER_UTIL_H_
-#define CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_INTENT_HELPER_UTIL_H_
-
-#include "components/arc/common/intent_helper.mojom.h"
-#include "url/gurl.h"
-
-namespace arc {
-namespace intent_helper_util {
-
-using GetFileSizeCallback =
- mojom::IntentHelperInstance::GetFileSizeDeprecatedCallback;
-using OpenFileToReadCallback =
- mojom::IntentHelperInstance::OpenFileToReadDeprecatedCallback;
-
-// Utility which posts a task to run GetFileSize.
-// This function must be called on the IO thread.
-void GetFileSizeOnIOThread(const GURL& arc_url,
- const GetFileSizeCallback& callback);
-
-// Utility which posts a task to run OpenFileToRead.
-// This function must be called on the IO thread.
-void OpenFileToReadOnIOThread(const GURL& arc_url,
- const OpenFileToReadCallback& callback);
-
-} // namespace intent_helper_util
-} // namespace arc
-
-#endif // CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_INTENT_HELPER_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698