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

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

Issue 2437693002: arc: Add URL converter functions (Closed)
Patch Set: Anonymous namespace Created 4 years, 2 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/BUILD.gn ('k') | chrome/browser/chromeos/arc/fileapi/arc_content_file_system_url_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698