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

Side by Side Diff: webkit/browser/chromeos/fileapi/cros_mount_point_provider.h

Issue 16701004: Fix webkit_storage exports definitions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 WEBKIT_BROWSER_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_ 5 #ifndef WEBKIT_BROWSER_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_
6 #define WEBKIT_BROWSER_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_ 6 #define WEBKIT_BROWSER_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/synchronization/lock.h" 15 #include "base/synchronization/lock.h"
16 #include "webkit/browser/fileapi/file_system_mount_point_provider.h" 16 #include "webkit/browser/fileapi/file_system_mount_point_provider.h"
17 #include "webkit/browser/quota/special_storage_policy.h" 17 #include "webkit/browser/quota/special_storage_policy.h"
18 #include "webkit/browser/webkit_storage_browser_export.h"
18 #include "webkit/common/fileapi/file_system_types.h" 19 #include "webkit/common/fileapi/file_system_types.h"
19 #include "webkit/storage/webkit_storage_export.h"
20 20
21 namespace fileapi { 21 namespace fileapi {
22 class AsyncFileUtilAdapter; 22 class AsyncFileUtilAdapter;
23 class CopyOrMoveFileValidatorFactory; 23 class CopyOrMoveFileValidatorFactory;
24 class ExternalMountPoints; 24 class ExternalMountPoints;
25 class FileSystemFileUtil; 25 class FileSystemFileUtil;
26 class FileSystemURL; 26 class FileSystemURL;
27 class IsolatedContext; 27 class IsolatedContext;
28 } 28 }
29 29
(...skipping 26 matching lines...) Expand all
56 // 56 //
57 // "drive" is a mount point for Google Drive. Drive is integrated with the 57 // "drive" is a mount point for Google Drive. Drive is integrated with the
58 // FileSystem API layer via drive::FileSystemProxy. This mount point is added 58 // FileSystem API layer via drive::FileSystemProxy. This mount point is added
59 // by drive::DriveIntegrationService. 59 // by drive::DriveIntegrationService.
60 // 60 //
61 // These mount points are placed under the "external" namespace, and file 61 // These mount points are placed under the "external" namespace, and file
62 // system URLs for these mount points look like: 62 // system URLs for these mount points look like:
63 // 63 //
64 // filesystem:<origin>/external/<mount_name>/... 64 // filesystem:<origin>/external/<mount_name>/...
65 // 65 //
66 class WEBKIT_STORAGE_EXPORT CrosMountPointProvider 66 class WEBKIT_STORAGE_BROWSER_EXPORT CrosMountPointProvider
67 : public fileapi::ExternalFileSystemMountPointProvider { 67 : public fileapi::ExternalFileSystemMountPointProvider {
68 public: 68 public:
69 using fileapi::FileSystemMountPointProvider::OpenFileSystemCallback; 69 using fileapi::FileSystemMountPointProvider::OpenFileSystemCallback;
70 using fileapi::FileSystemMountPointProvider::DeleteFileSystemCallback; 70 using fileapi::FileSystemMountPointProvider::DeleteFileSystemCallback;
71 71
72 // CrosMountPointProvider will take an ownership of a |mount_points| 72 // CrosMountPointProvider will take an ownership of a |mount_points|
73 // reference. On the other hand, |system_mount_points| will be kept as a raw 73 // reference. On the other hand, |system_mount_points| will be kept as a raw
74 // pointer and it should outlive CrosMountPointProvider instance. 74 // pointer and it should outlive CrosMountPointProvider instance.
75 CrosMountPointProvider( 75 CrosMountPointProvider(
76 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy, 76 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy,
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 // Globally visible mount points. System MountPonts instance should outlive 164 // Globally visible mount points. System MountPonts instance should outlive
165 // all CrosMountPointProvider instances, so raw pointer is safe. 165 // all CrosMountPointProvider instances, so raw pointer is safe.
166 fileapi::ExternalMountPoints* system_mount_points_; 166 fileapi::ExternalMountPoints* system_mount_points_;
167 167
168 DISALLOW_COPY_AND_ASSIGN(CrosMountPointProvider); 168 DISALLOW_COPY_AND_ASSIGN(CrosMountPointProvider);
169 }; 169 };
170 170
171 } // namespace chromeos 171 } // namespace chromeos
172 172
173 #endif // WEBKIT_BROWSER_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_ 173 #endif // WEBKIT_BROWSER_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_
OLDNEW
« no previous file with comments | « webkit/browser/blob/view_blob_internals_job.h ('k') | webkit/browser/chromeos/fileapi/file_access_permissions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698