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

Side by Side Diff: chrome/browser/chromeos/file_manager/filesystem_api_util.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // The file contains utility functions to implement chrome.fileSystem API for 5 // The file contains utility functions to implement chrome.fileSystem API for
6 // file paths that do not directly map to host machine's file system path, such 6 // file paths that do not directly map to host machine's file system path, such
7 // as Google Drive or virtual volumes provided by fileSystemProvider extensions. 7 // as Google Drive or virtual volumes provided by fileSystemProvider extensions.
8 8
9 #ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILESYSTEM_API_UTIL_H_ 9 #ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILESYSTEM_API_UTIL_H_
10 #define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILESYSTEM_API_UTIL_H_ 10 #define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILESYSTEM_API_UTIL_H_
11 11
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/callback_forward.h" 15 #include "base/callback_forward.h"
16 #include "storage/common/fileapi/file_system_types.h" 16 #include "storage/common/fileapi/file_system_types.h"
17 17
18 class Profile; 18 class Profile;
19 19
20 namespace base { 20 namespace base {
21 class FilePath; 21 class FilePath;
22 } // namespace base 22 } // namespace base
23 23
24 namespace storage {
25 class FileSystemURL;
26 } // namespace storage
27
28 namespace file_manager { 24 namespace file_manager {
29 namespace util { 25 namespace util {
30 26
31 // Obtains whether |type| is non-native file system or not. 27 // Obtains whether |type| is non-native file system or not.
32 bool IsNonNativeFileSystemType(storage::FileSystemType type); 28 bool IsNonNativeFileSystemType(storage::FileSystemType type);
33 29
34 // Checks whether the given |path| points to a non-local filesystem that 30 // Checks whether the given |path| points to a non-local filesystem that
35 // requires special handling. 31 // requires special handling.
36 bool IsUnderNonNativeLocalPath(Profile* profile, const base::FilePath& path); 32 bool IsUnderNonNativeLocalPath(Profile* profile, const base::FilePath& path);
37 33
(...skipping 16 matching lines...) Expand all
54 // |callback| whether it succeeded. 50 // |callback| whether it succeeded.
55 void PrepareNonNativeLocalFileForWritableApp( 51 void PrepareNonNativeLocalFileForWritableApp(
56 Profile* profile, 52 Profile* profile,
57 const base::FilePath& path, 53 const base::FilePath& path,
58 const base::Callback<void(bool)>& callback); 54 const base::Callback<void(bool)>& callback);
59 55
60 } // namespace util 56 } // namespace util
61 } // namespace file_manager 57 } // namespace file_manager
62 58
63 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILESYSTEM_API_UTIL_H_ 59 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILESYSTEM_API_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/extensions/wallpaper_private_api.h ('k') | chrome/browser/chromeos/file_manager/volume_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698