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

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

Issue 492873002: Collapse fileapi, webkit_blob, webkit_database, quota, and webkit_common namespaces into single sto… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos build Created 6 years, 4 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_FILEAPI_ISOLATED_CONTEXT_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_ISOLATED_CONTEXT_H_
6 #define WEBKIT_BROWSER_FILEAPI_ISOLATED_CONTEXT_H_ 6 #define WEBKIT_BROWSER_FILEAPI_ISOLATED_CONTEXT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/files/file_path.h" 14 #include "base/files/file_path.h"
15 #include "base/lazy_instance.h" 15 #include "base/lazy_instance.h"
16 #include "base/memory/singleton.h" 16 #include "base/memory/singleton.h"
17 #include "base/synchronization/lock.h" 17 #include "base/synchronization/lock.h"
18 #include "webkit/browser/fileapi/mount_points.h" 18 #include "webkit/browser/fileapi/mount_points.h"
19 #include "webkit/browser/webkit_storage_browser_export.h" 19 #include "webkit/browser/webkit_storage_browser_export.h"
20 #include "webkit/common/fileapi/file_system_types.h" 20 #include "webkit/common/fileapi/file_system_types.h"
21 21
22 namespace fileapi { 22 namespace storage {
23 class FileSystemURL; 23 class FileSystemURL;
24 } 24 }
25 25
26 namespace fileapi { 26 namespace storage {
27 27
28 // Manages isolated filesystem mount points which have no well-known names 28 // Manages isolated filesystem mount points which have no well-known names
29 // and are identified by a string 'filesystem ID', which usually just looks 29 // and are identified by a string 'filesystem ID', which usually just looks
30 // like random value. 30 // like random value.
31 // This type of filesystem can be created on the fly and may go away when it has 31 // This type of filesystem can be created on the fly and may go away when it has
32 // no references from renderers. 32 // no references from renderers.
33 // Files in an isolated filesystem are registered with corresponding names and 33 // Files in an isolated filesystem are registered with corresponding names and
34 // identified by a filesystem URL like: 34 // identified by a filesystem URL like:
35 // 35 //
36 // filesystem:<origin>/isolated/<filesystem_id>/<name>/relative/path 36 // filesystem:<origin>/isolated/<filesystem_id>/<name>/relative/path
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 189
190 // This lock needs to be obtained when accessing the instance_map_. 190 // This lock needs to be obtained when accessing the instance_map_.
191 mutable base::Lock lock_; 191 mutable base::Lock lock_;
192 192
193 IDToInstance instance_map_; 193 IDToInstance instance_map_;
194 PathToID path_to_id_map_; 194 PathToID path_to_id_map_;
195 195
196 DISALLOW_COPY_AND_ASSIGN(IsolatedContext); 196 DISALLOW_COPY_AND_ASSIGN(IsolatedContext);
197 }; 197 };
198 198
199 } // namespace fileapi 199 } // namespace storage
200 200
201 #endif // WEBKIT_BROWSER_FILEAPI_ISOLATED_CONTEXT_H_ 201 #endif // WEBKIT_BROWSER_FILEAPI_ISOLATED_CONTEXT_H_
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/file_writer_delegate.cc ('k') | webkit/browser/fileapi/isolated_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698