| 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 #include "content/browser/renderer_host/render_widget_host_impl.h" | 5 #include "content/browser/renderer_host/render_widget_host_impl.h" |
| 6 | 6 |
| 7 #include <math.h> | 7 #include <math.h> |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <tuple> | 10 #include <tuple> |
| (...skipping 2486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2497 // Grant the permission iff the ID is valid. | 2497 // Grant the permission iff the ID is valid. |
| 2498 policy->GrantReadFileSystem(renderer_id, filesystem_id); | 2498 policy->GrantReadFileSystem(renderer_id, filesystem_id); |
| 2499 } | 2499 } |
| 2500 | 2500 |
| 2501 // Note: We are using the origin URL provided by the sender here. It may be | 2501 // Note: We are using the origin URL provided by the sender here. It may be |
| 2502 // different from the receiver's. | 2502 // different from the receiver's. |
| 2503 file_system_file.url = | 2503 file_system_file.url = |
| 2504 GURL(storage::GetIsolatedFileSystemRootURIString( | 2504 GURL(storage::GetIsolatedFileSystemRootURIString( |
| 2505 file_system_url.origin(), filesystem_id, std::string()) | 2505 file_system_url.origin(), filesystem_id, std::string()) |
| 2506 .append(register_name)); | 2506 .append(register_name)); |
| 2507 file_system_file.filesystem_id = filesystem_id; |
| 2507 } | 2508 } |
| 2508 } | 2509 } |
| 2509 | 2510 |
| 2510 } // namespace content | 2511 } // namespace content |
| OLD | NEW |