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

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

Issue 2914433002: arc: Use the MIME type returned by the container to handle content URLs (Closed)
Patch Set: Address comments Created 3 years, 7 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_url_util.h
diff --git a/chrome/browser/chromeos/arc/fileapi/arc_content_file_system_url_util.h b/chrome/browser/chromeos/arc/fileapi/arc_content_file_system_url_util.h
index 1a49c782e9debbbf5bc65458e09f84f32d0383d6..a29d647c146e08b6e2b0d0c279d9d4fbc5a73d82 100644
--- a/chrome/browser/chromeos/arc/fileapi/arc_content_file_system_url_util.h
+++ b/chrome/browser/chromeos/arc/fileapi/arc_content_file_system_url_util.h
@@ -40,6 +40,11 @@ GURL ExternalFileUrlToArcUrl(const GURL& external_file_url);
// Converts a FileSystemURL to a URL which can be used within the ARC container.
GURL FileSystemUrlToArcUrl(const storage::FileSystemURL& url);
+// Converts a path which was returned by FileSystemURL::path() (not to be
+// confused with virtual_path()) to a URL which can be used within the ARC
+// container.
mtomasz 2017/06/05 04:29:55 nit: Shall we add a comment when this can return a
hashimoto 2017/06/05 04:55:37 Done.
+GURL PathToArcUrl(const base::FilePath& path);
+
} // namespace arc
#endif // CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_CONTENT_FILE_SYSTEM_URL_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698