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

Side by Side Diff: chrome/browser/chromeos/arc/fileapi/arc_content_file_system_url_util.h

Issue 2450713002: arc: Register ARC content file system (Closed)
Patch Set: Address comments Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_CONTENT_FILE_SYSTEM_URL_UTIL_H_ 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_ 6 #define CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_CONTENT_FILE_SYSTEM_URL_UTIL_H_
7 7
8 #include "base/files/file_path.h"
8 #include "url/gurl.h" 9 #include "url/gurl.h"
9 10
10 namespace arc { 11 namespace arc {
11 12
13 // The name of the ARC content file system mount point.
14 extern const char kMountPointName[];
15
16 // The path of the ARC content file system mount point.
17 extern const base::FilePath::CharType kMountPointPath[];
18
12 // Converts a URL which can be used within the ARC container to an externalfile: 19 // Converts a URL which can be used within the ARC container to an externalfile:
13 // URL which can be used by Chrome. 20 // URL which can be used by Chrome.
14 GURL ArcUrlToExternalFileUrl(const GURL& arc_url); 21 GURL ArcUrlToExternalFileUrl(const GURL& arc_url);
15 22
16 // Converts an externalfile: URL to a URL which can be used within the ARC 23 // 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 24 // container. If the given URL cannot be converted to an ARC URL, returns an
18 // empty GURL. 25 // empty GURL.
19 GURL ExternalFileUrlToArcUrl(const GURL& external_file_url); 26 GURL ExternalFileUrlToArcUrl(const GURL& external_file_url);
20 27
21 } // namespace arc 28 } // namespace arc
22 29
23 #endif // CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_CONTENT_FILE_SYSTEM_URL_UTIL_ H_ 30 #endif // CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_CONTENT_FILE_SYSTEM_URL_UTIL_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698