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/renderer/pepper/url_response_info_util.h" | 5 #include "content/renderer/pepper/url_response_info_util.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/location.h" | 11 #include "base/location.h" |
12 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
13 #include "base/thread_task_runner_handle.h" | 13 #include "base/threading/thread_task_runner_handle.h" |
14 #include "content/public/renderer/renderer_ppapi_host.h" | 14 #include "content/public/renderer/renderer_ppapi_host.h" |
15 #include "content/renderer/pepper/pepper_file_ref_renderer_host.h" | 15 #include "content/renderer/pepper/pepper_file_ref_renderer_host.h" |
16 #include "content/renderer/pepper/renderer_ppapi_host_impl.h" | 16 #include "content/renderer/pepper/renderer_ppapi_host_impl.h" |
17 #include "ipc/ipc_message.h" | 17 #include "ipc/ipc_message.h" |
18 #include "ppapi/proxy/ppapi_messages.h" | 18 #include "ppapi/proxy/ppapi_messages.h" |
19 #include "ppapi/shared_impl/url_response_info_data.h" | 19 #include "ppapi/shared_impl/url_response_info_data.h" |
20 #include "third_party/WebKit/public/platform/FilePathConversion.h" | 20 #include "third_party/WebKit/public/platform/FilePathConversion.h" |
21 #include "third_party/WebKit/public/platform/WebHTTPHeaderVisitor.h" | 21 #include "third_party/WebKit/public/platform/WebHTTPHeaderVisitor.h" |
22 #include "third_party/WebKit/public/platform/WebString.h" | 22 #include "third_party/WebKit/public/platform/WebString.h" |
23 #include "third_party/WebKit/public/platform/WebURL.h" | 23 #include "third_party/WebKit/public/platform/WebURL.h" |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 external_path, | 109 external_path, |
110 renderer_pending_host_id, | 110 renderer_pending_host_id, |
111 callback)); | 111 callback)); |
112 } else { | 112 } else { |
113 base::ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, | 113 base::ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, |
114 base::Bind(callback, data)); | 114 base::Bind(callback, data)); |
115 } | 115 } |
116 } | 116 } |
117 | 117 |
118 } // namespace content | 118 } // namespace content |
OLD | NEW |