| 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_ARC_CONTENT_FILE_SYSTEM_URL_UTIL_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_CONTENT_FILE_SYSTEM_URL_UTIL_H_ |
| 7 |
| 8 #include "url/gurl.h" |
| 9 |
| 10 namespace arc { |
| 11 |
| 12 // Converts a URL which can be used within the ARC container to an externalfile: |
| 13 // URL which can be used by Chrome. |
| 14 GURL ArcUrlToExternalFileUrl(const GURL& arc_url); |
| 15 |
| 16 // Converts an externalfile: URL to a URL which can be used within the ARC |
| 17 // container. If the given URL cannot be converted to an ARC URL, returns an |
| 18 // empty GURL. |
| 19 GURL ExternalFileUrlToArcUrl(const GURL& external_file_url); |
| 20 |
| 21 } // namespace arc |
| 22 |
| 23 #endif // CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_CONTENT_FILE_SYSTEM_URL_UTIL_
H_ |
| OLD | NEW |