| 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
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..017dc4e8eea5a4d0a4c102206abb18ddb4bb178d
|
| --- /dev/null
|
| +++ b/chrome/browser/chromeos/arc/fileapi/intent_helper_util.h
|
| @@ -0,0 +1,29 @@
|
| +// 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 {
|
| +
|
| +// Utility to call IntentHelperInstance::GetFileSize on the IO thread.
|
| +void GetFileSizeOnIOThread(
|
| + const GURL& arc_url,
|
| + const mojom::IntentHelperInstance::GetFileSizeCallback& callback);
|
| +
|
| +// Utility to call IntentHelperInstance::OpenFileToRead on the IO thread.
|
| +void OpenFileToReadOnIOThread(
|
| + const GURL& arc_url,
|
| + const mojom::IntentHelperInstance::OpenFileToReadCallback& callback);
|
| +
|
| +} // namespace intent_helper_util
|
| +
|
| +} // namespace arc
|
| +
|
| +#endif // CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_INTENT_HELPER_UTIL_H_
|
|
|