Home
last modified time | relevance | path

Searched refs:IsolatedContext (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/webkit/browser/fileapi/
Disolated_context.cc61 static base::LazyInstance<IsolatedContext>::Leaky g_isolated_context =
66 IsolatedContext::FileInfoSet::FileInfoSet() {} in FileInfoSet()
67 IsolatedContext::FileInfoSet::~FileInfoSet() {} in ~FileInfoSet()
69 bool IsolatedContext::FileInfoSet::AddPath( in AddPath()
98 bool IsolatedContext::FileInfoSet::AddPathWithName( in AddPathWithName()
109 class IsolatedContext::Instance {
160 IsolatedContext::Instance::Instance(FileSystemType type, in Instance()
170 IsolatedContext::Instance::Instance(FileSystemType type, in Instance()
179 IsolatedContext::Instance::~Instance() {} in ~Instance()
181 bool IsolatedContext::Instance::ResolvePathForName(const std::string& name, in ResolvePathForName()
[all …]
Disolated_context.h40 class WEBKIT_STORAGE_BROWSER_EXPORT IsolatedContext : public MountPoints {
65 static IsolatedContext* GetInstance();
163 friend struct base::DefaultLazyInstanceTraits<IsolatedContext>;
174 IsolatedContext();
175 virtual ~IsolatedContext();
194 DISALLOW_COPY_AND_ASSIGN(IsolatedContext);
Disolated_context_unittest.cc23 typedef IsolatedContext::MountPointInfo FileInfo;
52 IsolatedContext::FileInfoSet files; in SetUp()
59 id_ = IsolatedContext::GetInstance()->RegisterDraggedFileSystem(files); in SetUp()
60 IsolatedContext::GetInstance()->AddReference(id_); in SetUp()
65 IsolatedContext::GetInstance()->RemoveReference(id_); in TearDown()
68 IsolatedContext* isolated_context() const { in isolated_context()
69 return IsolatedContext::GetInstance(); in isolated_context()
Ddragged_file_util.cc23 typedef IsolatedContext::MountPointInfo FileInfo;
103 IsolatedContext::GetInstance()->GetDraggedFileInfo( in CreateFileEnumerator()
Dtransient_file_util.cc23 IsolatedContext::GetInstance()->RevokeFileSystem(filesystem_id); in RevokeFileSystem()
Dfile_system_url.h147 friend class IsolatedContext; variable
/external/chromium_org/chrome/browser/media_galleries/
Dimported_media_gallery_registry.cc18 using fileapi::IsolatedContext;
40 fsid = IsolatedContext::GetInstance()->RegisterFileSystemForVirtualPath( in RegisterPicasaFilesystemOnUIThread()
74 fsid = IsolatedContext::GetInstance()->RegisterFileSystemForVirtualPath( in RegisterITunesFilesystemOnUIThread()
110 fsid = IsolatedContext::GetInstance()->RegisterFileSystemForVirtualPath( in RegisterIPhotoFilesystemOnUIThread()
148 return IsolatedContext::GetInstance()->RevokeFileSystem(fsid); in RevokeImportedFilesystemOnUIThread()
158 return IsolatedContext::GetInstance()->RevokeFileSystem(fsid); in RevokeImportedFilesystemOnUIThread()
170 return IsolatedContext::GetInstance()->RevokeFileSystem(fsid); in RevokeImportedFilesystemOnUIThread()
Dmedia_file_system_registry.cc51 using fileapi::IsolatedContext;
518 IsolatedContext::GetInstance()->RevokeFileSystem(fsid); in RevokeFileSystem()
560 fsid = IsolatedContext::GetInstance()->RegisterFileSystemForPath( in RegisterFileSystemForMassStorage()
575 IsolatedContext::GetInstance()->RegisterFileSystemForPath( in RegisterFileSystemForMTPDevice()
Dmedia_file_system_registry.h37 class IsolatedContext; variable
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/
DProviderTestBase.java9 import android.test.IsolatedContext;
22 private IsolatedContext mContext;
38 mContext = new IsolatedContext(resolver, activity); in setUp()
/external/chromium_org/content/browser/fileapi/
Dfile_system_context_unittest.cc106 IsolatedContext::GetInstance()->RegisterFileSystemForPath( in TEST_F()
145 IsolatedContext::GetInstance()->RevokeFileSystem(isolated_id); in TEST_F()
195 IsolatedContext::GetInstance()->RegisterFileSystemForPath( in TEST_F()
325 IsolatedContext::GetInstance()->RevokeFileSystemByPath( in TEST_F()
348 IsolatedContext::GetInstance()->RegisterFileSystemForPath( in TEST_F()
369 IsolatedContext::GetInstance()->RevokeFileSystem(isolated_fs_id); in TEST_F()
Dtransient_file_util_unittest.cc44 IsolatedContext* isolated_context = IsolatedContext::GetInstance(); in CreateAndRegisterTemporaryFile()
Ddragged_file_util_unittest.cc115 IsolatedContext* isolated_context() const { in isolated_context()
116 return IsolatedContext::GetInstance(); in isolated_context()
254 IsolatedContext::FileInfoSet toplevels; in SimulateDropFiles()
Dplugin_private_file_system_backend_unittest.cc38 return IsolatedContext::GetInstance()->RegisterFileSystemForVirtualPath( in RegisterFileSystem()
/external/chromium_org/content/shell/browser/
Dshell_message_filter.cc70 fileapi::IsolatedContext::FileInfoSet files; in OnRegisterIsolatedFileSystem()
79 fileapi::IsolatedContext::GetInstance()->RegisterDraggedFileSystem(files); in OnRegisterIsolatedFileSystem()
/external/chromium_org/content/browser/
Dchild_process_security_policy_unittest.cc312 std::string read_id = fileapi::IsolatedContext::GetInstance()-> in TEST_F()
316 std::string read_write_id = fileapi::IsolatedContext::GetInstance()-> in TEST_F()
320 std::string copy_into_id = fileapi::IsolatedContext::GetInstance()-> in TEST_F()
324 std::string delete_from_id = fileapi::IsolatedContext::GetInstance()-> in TEST_F()
377 fileapi::IsolatedContext::GetInstance()->RevokeFileSystem(read_id); in TEST_F()
378 fileapi::IsolatedContext::GetInstance()->RevokeFileSystem(read_write_id); in TEST_F()
379 fileapi::IsolatedContext::GetInstance()->RevokeFileSystem(copy_into_id); in TEST_F()
380 fileapi::IsolatedContext::GetInstance()->RevokeFileSystem(delete_from_id); in TEST_F()
Dchild_process_security_policy_impl.cc80 fileapi::IsolatedContext* isolated_context = in ~SecurityState()
81 fileapi::IsolatedContext::GetInstance(); in ~SecurityState()
125 fileapi::IsolatedContext::GetInstance()->AddReference(filesystem_id); in GrantPermissionsForFileSystem()
/external/chromium_org/chrome/browser/extensions/api/file_handlers/
Dapp_file_handler_util.cc308 fileapi::IsolatedContext* isolated_context = in CreateFileEntry()
309 fileapi::IsolatedContext::GetInstance(); in CreateFileEntry()
369 fileapi::IsolatedContext* context = fileapi::IsolatedContext::GetInstance(); in ValidateFileEntryAndGetPath()
/external/chromium_org/chrome/browser/renderer_host/pepper/
Dpepper_isolated_file_system_message_filter.cc118 return fileapi::IsolatedContext::GetInstance()-> in CreateCrxFileSystem()
186 fileapi::IsolatedContext::GetInstance()->RegisterFileSystemForVirtualPath( in OpenPluginPrivateFileSystem()
/external/chromium_org/chrome/browser/devtools/
Ddevtools_file_helper.cc135 fileapi::IsolatedContext* isolated_context() { in isolated_context()
137 fileapi::IsolatedContext* isolated_context = in isolated_context()
138 fileapi::IsolatedContext::GetInstance(); in isolated_context()
/external/chromium_org/chrome/browser/media_galleries/fileapi/
Dmtp_device_map_service.cc88 if (!fileapi::IsolatedContext::GetInstance()->GetRegisteredPath( in GetMTPDeviceAsyncDelegate()
Dnative_media_file_util_unittest.cc162 fileapi::IsolatedContext* isolated_context() { in isolated_context()
163 return fileapi::IsolatedContext::GetInstance(); in isolated_context()
/external/chromium_org/chrome/browser/chromeos/fileapi/
Dfile_system_backend.h26 class IsolatedContext; variable
/external/chromium_org/content/browser/renderer_host/pepper/
Dpepper_file_system_browser_host.cc366 fileapi::IsolatedContext::GetInstance()->RevokeFileSystem(fsid); in OnHostMsgInitIsolatedFileSystem()
396 fileapi::IsolatedContext::GetInstance()->RevokeFileSystem(fsid); in SendReplyForIsolatedFileSystem()
/external/chromium_org/chrome/browser/extensions/api/runtime/
Druntime_api.cc562 fileapi::IsolatedContext* isolated_context = in RunImpl()
563 fileapi::IsolatedContext::GetInstance(); in RunImpl()

12