Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_INTENT_HELPER_UTIL_H_ | |
| 6 #define CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_INTENT_HELPER_UTIL_H_ | |
| 7 | |
| 8 #include "components/arc/common/intent_helper.mojom.h" | |
| 9 #include "url/gurl.h" | |
| 10 | |
| 11 namespace arc { | |
| 12 | |
|
hidehiko
2016/11/04 17:19:49
Unnecessary empty line?
hashimoto
2016/11/07 05:34:16
Done.
| |
| 13 namespace intent_helper_util { | |
| 14 | |
| 15 // Utility to call IntentHelperInstance::GetFileSize on the IO thread. | |
|
hidehiko
2016/11/04 17:19:49
The comment looks ambiguous.
1) This function is c
hashimoto
2016/11/07 05:34:16
Done.
hidehiko
2016/11/07 18:07:54
Much clearer to me!
| |
| 16 void GetFileSizeOnIOThread( | |
| 17 const GURL& arc_url, | |
| 18 const mojom::IntentHelperInstance::GetFileSizeCallback& callback); | |
| 19 | |
| 20 // Utility to call IntentHelperInstance::OpenFileToRead on the IO thread. | |
| 21 void OpenFileToReadOnIOThread( | |
| 22 const GURL& arc_url, | |
| 23 const mojom::IntentHelperInstance::OpenFileToReadCallback& callback); | |
| 24 | |
| 25 } // namespace intent_helper_util | |
| 26 | |
|
hidehiko
2016/11/04 17:19:49
Ditto.
hashimoto
2016/11/07 05:34:16
Done.
| |
| 27 } // namespace arc | |
| 28 | |
| 29 #endif // CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_INTENT_HELPER_UTIL_H_ | |
| OLD | NEW |