| OLD | NEW |
| 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_FILEAPI_ISOLATED_CONTEXT_H_ | 5 #ifndef WEBKIT_BROWSER_FILEAPI_ISOLATED_CONTEXT_H_ |
| 6 #define WEBKIT_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/fileapi/file_system_types.h" | 19 #include "webkit/fileapi/file_system_types.h" |
| 19 #include "webkit/fileapi/mount_points.h" | |
| 20 #include "webkit/storage/webkit_storage_export.h" | 20 #include "webkit/storage/webkit_storage_export.h" |
| 21 | 21 |
| 22 namespace fileapi { | 22 namespace fileapi { |
| 23 class FileSystemURL; | 23 class FileSystemURL; |
| 24 } | 24 } |
| 25 | 25 |
| 26 namespace fileapi { | 26 namespace fileapi { |
| 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 |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 mutable base::Lock lock_; | 187 mutable base::Lock lock_; |
| 188 | 188 |
| 189 IDToInstance instance_map_; | 189 IDToInstance instance_map_; |
| 190 PathToID path_to_id_map_; | 190 PathToID path_to_id_map_; |
| 191 | 191 |
| 192 DISALLOW_COPY_AND_ASSIGN(IsolatedContext); | 192 DISALLOW_COPY_AND_ASSIGN(IsolatedContext); |
| 193 }; | 193 }; |
| 194 | 194 |
| 195 } // namespace fileapi | 195 } // namespace fileapi |
| 196 | 196 |
| 197 #endif // WEBKIT_FILEAPI_ISOLATED_CONTEXT_H_ | 197 #endif // WEBKIT_BROWSER_FILEAPI_ISOLATED_CONTEXT_H_ |
| OLD | NEW |