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

Side by Side Diff: webkit/browser/fileapi/external_mount_points.h

Issue 195923002: Add mechanism to auto mount file systems in response to a URL request. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix CrOS Created 6 years, 9 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_FILEAPI_EXTERNAL_MOUNT_POINTS_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_EXTERNAL_MOUNT_POINTS_H_
6 #define WEBKIT_BROWSER_FILEAPI_EXTERNAL_MOUNT_POINTS_H_ 6 #define WEBKIT_BROWSER_FILEAPI_EXTERNAL_MOUNT_POINTS_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/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/synchronization/lock.h" 13 #include "base/synchronization/lock.h"
14 #include "webkit/browser/fileapi/mount_points.h" 14 #include "webkit/browser/fileapi/mount_points.h"
15 #include "webkit/browser/webkit_storage_browser_export.h" 15 #include "webkit/browser/webkit_storage_browser_export.h"
16 #include "webkit/common/fileapi/file_system_mount_option.h" 16 #include "webkit/common/fileapi/file_system_mount_option.h"
17 #include "webkit/common/fileapi/file_system_types.h" 17 #include "webkit/common/fileapi/file_system_types.h"
18 18
19 namespace base { 19 namespace base {
20 class FilePath; 20 class FilePath;
21 } 21 }
22 22
23 namespace fileapi { 23 namespace fileapi {
24 class FileSystemURL;
25 }
26
27 namespace fileapi {
28 24
25 class FileSystemURL;
26
29 // Manages external filesystem namespaces that are identified by 'mount name' 27 // Manages external filesystem namespaces that are identified by 'mount name'
30 // and are persisted until RevokeFileSystem is called. 28 // and are persisted until RevokeFileSystem is called.
31 // Files in an external filesystem are identified by a filesystem URL like: 29 // Files in an external filesystem are identified by a filesystem URL like:
32 // 30 //
33 // filesystem:<origin>/external/<mount_name>/relative/path 31 // filesystem:<origin>/external/<mount_name>/relative/path
34 // 32 //
35 class WEBKIT_STORAGE_BROWSER_EXPORT ExternalMountPoints 33 class WEBKIT_STORAGE_BROWSER_EXPORT ExternalMountPoints
36 : public base::RefCountedThreadSafe<ExternalMountPoints>, 34 : public base::RefCountedThreadSafe<ExternalMountPoints>,
37 public MountPoints { 35 public MountPoints {
38 public: 36 public:
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 141
144 NameToInstance instance_map_; 142 NameToInstance instance_map_;
145 PathToName path_to_name_map_; 143 PathToName path_to_name_map_;
146 144
147 DISALLOW_COPY_AND_ASSIGN(ExternalMountPoints); 145 DISALLOW_COPY_AND_ASSIGN(ExternalMountPoints);
148 }; 146 };
149 147
150 } // namespace fileapi 148 } // namespace fileapi
151 149
152 #endif // WEBKIT_BROWSER_FILEAPI_EXTERNAL_MOUNT_POINTS_H_ 150 #endif // WEBKIT_BROWSER_FILEAPI_EXTERNAL_MOUNT_POINTS_H_
OLDNEW
« no previous file with comments | « content/public/test/test_file_system_context.cc ('k') | webkit/browser/fileapi/file_system_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698