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

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

Issue 2572683004: mediaview: Introduce ArcDocumentsProviderRoot. (Closed)
Patch Set: Constructors are called on the UI thread. Created 4 years 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 // Utilities for ARC documents provider file system.
6
7 #ifndef CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_DOCUMENTS_PROVIDER_UTIL_H_
8 #define CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_DOCUMENTS_PROVIDER_UTIL_H_
9
10 #include <string>
11
12 #include "base/files/file_path.h"
13
14 namespace storage {
15 class FileSystemURL;
16 } // namespace storage
17
18 namespace arc {
19
20 // The name of ARC documents provider file system mount point.
21 extern const char kDocumentsProviderMountPointName[];
22
23 // The path of ARC documents provider file system mount point.
24 extern const base::FilePath::CharType kDocumentsProviderMountPointPath[];
25
26 // Parses a FileSystemURL pointing to ARC documents provider file system.
27 // On success, true is returned. All arguments must not be nullptr.
28 bool ParseDocumentsProviderUrl(const storage::FileSystemURL& url,
29 std::string* authority,
30 std::string* root_document_id,
31 base::FilePath* path);
32
33 } // namespace arc
34
35 #endif // CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_DOCUMENTS_PROVIDER_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698