OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/pepper/pepper_external_file_ref_backend.
h" | 5 #include "content/browser/renderer_host/pepper/pepper_external_file_ref_backend.
h" |
6 | 6 |
7 #include <string.h> | 7 #include <string.h> |
8 | 8 |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/files/file_util_proxy.h" | 10 #include "base/files/file_util_proxy.h" |
11 #include "content/browser/child_process_security_policy_impl.h" | 11 #include "content/browser/shared/child_process_security_policy_helper.h" |
12 #include "content/public/browser/browser_thread.h" | 12 #include "content/public/browser/browser_thread.h" |
13 #include "ppapi/c/pp_errors.h" | 13 #include "ppapi/c/pp_errors.h" |
14 #include "ppapi/c/pp_time.h" | 14 #include "ppapi/c/pp_time.h" |
15 #include "ppapi/host/ppapi_host.h" | 15 #include "ppapi/host/ppapi_host.h" |
16 #include "ppapi/proxy/ppapi_messages.h" | 16 #include "ppapi/proxy/ppapi_messages.h" |
17 #include "ppapi/shared_impl/file_type_conversion.h" | 17 #include "ppapi/shared_impl/file_type_conversion.h" |
18 #include "ppapi/shared_impl/time_conversion.h" | 18 #include "ppapi/shared_impl/time_conversion.h" |
19 | 19 |
20 namespace content { | 20 namespace content { |
21 | 21 |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 file_info, PP_FILESYSTEMTYPE_EXTERNAL, &pp_file_info); | 153 file_info, PP_FILESYSTEMTYPE_EXTERNAL, &pp_file_info); |
154 } else { | 154 } else { |
155 memset(&pp_file_info, 0, sizeof(pp_file_info)); | 155 memset(&pp_file_info, 0, sizeof(pp_file_info)); |
156 } | 156 } |
157 | 157 |
158 host_->SendReply(reply_context, | 158 host_->SendReply(reply_context, |
159 PpapiPluginMsg_FileRef_QueryReply(pp_file_info)); | 159 PpapiPluginMsg_FileRef_QueryReply(pp_file_info)); |
160 } | 160 } |
161 | 161 |
162 } // namespace content | 162 } // namespace content |
OLD | NEW |