HomeSort by relevance Sort by last modified time
    Searched refs:filesystem_id (Results 1 - 25 of 40) sorted by null

1 2

  /external/chromium_org/content/public/browser/
child_process_security_policy.h 65 // identified by |filesystem_id|. An isolated file system can be
77 const std::string& filesystem_id) = 0;
80 // identified by |filesystem_id|. See comments for GrantReadFileSystem
87 const std::string& filesystem_id) = 0;
90 // identified by |filesystem_id|. See comments for GrantReadFileSystem
98 const std::string& filesystem_id) = 0;
101 // file system identified by |filesystem_id|. See comments for
109 const std::string& filesystem_id) = 0;
111 // Grants permission to copy-into filesystem |filesystem_id|. 'copy-into'
115 const std::string& filesystem_id) = 0
    [all...]
  /external/chromium_org/webkit/browser/fileapi/
transient_file_util.cc 21 void RevokeFileSystem(const std::string& filesystem_id,
23 IsolatedContext::GetInstance()->RevokeFileSystem(filesystem_id);
43 DCHECK(!url.filesystem_id().empty());
50 base::Bind(&RevokeFileSystem, url.filesystem_id()), NULL);
isolated_context.h 36 // filesystem:<origin>/isolated/<filesystem_id>/<name>/relative/path
73 // and returns the new filesystem_id. The files are registered with their
79 // '/<filesystem_id>/<registered_name>/<relative_path_from_the_dropped_path>'
125 // Adds a reference to a filesystem specified by the given filesystem_id.
126 void AddReference(const std::string& filesystem_id);
128 // Removes a reference to a filesystem specified by the given filesystem_id.
132 void RemoveReference(const std::string& filesystem_id);
135 // |filesystem_id|.
136 // The filesystem_id must be pointing to a dragged file system
138 // Returns false if the |filesystem_id| is not valid
    [all...]
plugin_private_file_system_backend.cc 35 Map::iterator found = map_.find(url.filesystem_id());
43 void RegisterFileSystem(const std::string& filesystem_id,
46 DCHECK(!filesystem_id.empty());
47 DCHECK(!ContainsKey(map_, filesystem_id)) << filesystem_id;
48 map_[filesystem_id] = plugin_id;
51 void RemoveFileSystem(const std::string& filesystem_id) {
53 map_.erase(filesystem_id);
73 const std::string& filesystem_id,
81 plugin_map->RegisterFileSystem(filesystem_id, plugin_id)
    [all...]
isolated_context.cc 224 std::string filesystem_id = GetNewFileSystemId(); local
225 instance_map_[filesystem_id] = new Instance(
227 return filesystem_id;
247 std::string filesystem_id = GetNewFileSystemId(); local
248 instance_map_[filesystem_id] = new Instance(type, MountPointInfo(name, path),
250 path_to_id_map_[path].insert(filesystem_id);
251 return filesystem_id;
262 std::string filesystem_id = GetNewFileSystemId();
263 instance_map_[filesystem_id] = new Instance(
267 path_to_id_map_[path].insert(filesystem_id);
    [all...]
dragged_file_util.cc 69 std::string filesystem_id; local
104 root.filesystem_id(), &toplevels);
file_system_url.h 63 // filesystem_id() returns 'mount_name'.
115 const std::string& filesystem_id() const { return filesystem_id_; } function in class:fileapi::FileSystemURL
160 const std::string& filesystem_id,
file_system_url.cc 128 const std::string& filesystem_id,
137 filesystem_id_(filesystem_id),
184 filesystem_id() == other.filesystem_id();
external_mount_points.cc 132 const std::string& filesystem_id, base::FilePath* path) const {
135 NameToInstance::const_iterator found = instance_map_.find(filesystem_id);
285 url.path(), url.filesystem_id(), url.mount_option());
301 !url.filesystem_id().empty() ? url.filesystem_id() : mount_name,
  /external/chromium_org/content/browser/
child_process_security_policy_impl.h 50 const std::string& filesystem_id) OVERRIDE;
53 const std::string& filesystem_id) OVERRIDE;
56 const std::string& filesystem_id) OVERRIDE;
59 const std::string& filesystem_id) OVERRIDE;
62 const std::string& filesystem_id) OVERRIDE;
65 const std::string& filesystem_id) OVERRIDE;
71 const std::string& filesystem_id) OVERRIDE;
74 const std::string& filesystem_id) OVERRIDE;
76 const std::string& filesystem_id) OVERRIDE;
79 const std::string& filesystem_id) OVERRIDE
    [all...]
child_process_security_policy_impl.cc 122 void GrantPermissionsForFileSystem(const std::string& filesystem_id,
124 if (!ContainsKey(filesystem_permissions_, filesystem_id))
125 fileapi::IsolatedContext::GetInstance()->AddReference(filesystem_id);
126 filesystem_permissions_[filesystem_id] |= permissions;
129 bool HasPermissionsForFileSystem(const std::string& filesystem_id,
132 filesystem_permissions_.find(filesystem_id);
487 int child_id, const std::string& filesystem_id) {
488 GrantPermissionsForFileSystem(child_id, filesystem_id, READ_FILE_GRANT);
492 int child_id, const std::string& filesystem_id) {
493 GrantPermissionsForFileSystem(child_id, filesystem_id, WRITE_FILE_GRANT)
    [all...]
  /external/chromium_org/content/common/
drag_traits.h 27 IPC_STRUCT_TRAITS_MEMBER(filesystem_id)
  /external/chromium_org/webkit/common/fileapi/
file_system_util.h 138 const std::string& filesystem_id);
146 std::string* filesystem_id);
150 const std::string& filesystem_id);
153 // and |filesystem_id|. If the |optional_root_name| is given the resulting
157 const std::string& filesystem_id,
file_system_util.cc 339 const std::string& filesystem_id) {
343 name.append(filesystem_id);
348 std::string* filesystem_id) {
349 DCHECK(filesystem_id);
351 // |filesystem_name| is of the form {origin}:isolated_{filesystem_id}.
367 *filesystem_id = filesystem_name.substr(pos + start_token.length(),
369 if (filesystem_id->empty())
375 bool ValidateIsolatedFileSystemId(const std::string& filesystem_id) {
377 if (filesystem_id.size() != kExpectedFileSystemIdSize)
380 return ContainsOnlyChars(filesystem_id, kExpectedChars)
    [all...]
  /external/chromium_org/content/shell/browser/
shell_message_filter.cc 69 std::string* filesystem_id) {
78 *filesystem_id =
80 policy->GrantReadFileSystem(render_process_id_, *filesystem_id);
shell_message_filter.h 49 std::string* filesystem_id);
  /external/chromium_org/chrome/browser/media_galleries/fileapi/
mtp_device_map_service.h 24 // Gets the media device delegate associated with |filesystem_id|.
25 // Return NULL if the |filesystem_id| is no longer valid (e.g. because the
29 const std::string& filesystem_id);
mtp_device_map_service.cc 85 const std::string& filesystem_id) {
89 filesystem_id, &device_path)) {
  /external/chromium_org/content/public/common/
drop_data.h 53 base::string16 filesystem_id; member in struct:content::DropData
  /external/chromium_org/chrome/browser/extensions/api/file_handlers/
app_file_handler_util.cc 312 result.filesystem_id = isolated_context->RegisterFileSystemForPath(
318 policy->GrantReadFileSystem(renderer_id, result.filesystem_id);
320 policy->GrantWriteFileSystem(renderer_id, result.filesystem_id);
321 policy->GrantDeleteFromFileSystem(renderer_id, result.filesystem_id);
323 policy->GrantCreateFileForFileSystem(renderer_id, result.filesystem_id);
326 result.id = result.filesystem_id + ":" + result.registered_name;
353 std::string filesystem_id; local
354 if (!fileapi::CrackIsolatedFileSystemName(filesystem_name, &filesystem_id)) {
364 filesystem_id)) {
372 base::FilePath virtual_path = context->CreateVirtualRootPath(filesystem_id)
    [all...]
app_file_handler_util.h 59 std::string filesystem_id; member in struct:extensions::app_file_handler_util::GrantedFileEntry
  /external/chromium_org/chrome/browser/media_galleries/
media_file_system_registry.h 46 const std::string& filesystem_id,
  /external/chromium_org/chrome/renderer/extensions/
file_system_natives.cc 116 std::string filesystem_id; local
117 if (!fileapi::CrackIsolatedFileSystemName(filesystem_name, &filesystem_id))
121 filesystem_id.c_str(),
123 filesystem_id.size()));
  /external/chromium_org/chrome/browser/extensions/api/sync_file_system/
sync_file_system_api_helpers.cc 116 if (!url.filesystem_id().empty()) {
117 root_url.append(url.filesystem_id());
  /external/chromium_org/chrome/browser/extensions/api/app_runtime/
app_runtime_api.cc 86 launch_item->SetString("fileSystemId", file_entry.filesystem_id);

Completed in 862 milliseconds

1 2