OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "chrome/plugin/chrome_plugin_host.h" | 5 #include "chrome/plugin/chrome_plugin_host.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
11 #include "base/process_util.h" | 11 #include "base/process_util.h" |
12 #include "chrome/common/child_process.h" | 12 #include "chrome/common/child_process.h" |
13 #include "chrome/common/chrome_constants.h" | 13 #include "chrome/common/chrome_constants.h" |
14 #include "chrome/common/chrome_plugin_lib.h" | 14 #include "chrome/common/chrome_plugin_lib.h" |
15 #include "chrome/common/chrome_plugin_util.h" | 15 #include "chrome/common/chrome_plugin_util.h" |
16 #include "chrome/common/chrome_switches.h" | 16 #include "chrome/common/chrome_switches.h" |
17 #include "chrome/common/plugin_messages.h" | 17 #include "chrome/common/plugin_messages.h" |
18 #include "chrome/plugin/plugin_thread.h" | 18 #include "chrome/plugin/plugin_thread.h" |
19 #include "chrome/plugin/webplugin_proxy.h" | 19 #include "chrome/plugin/webplugin_proxy.h" |
20 #include "net/base/data_url.h" | 20 #include "net/base/data_url.h" |
| 21 #include "net/base/io_buffer.h" |
21 #include "net/base/upload_data.h" | 22 #include "net/base/upload_data.h" |
22 #include "net/http/http_response_headers.h" | 23 #include "net/http/http_response_headers.h" |
23 #include "webkit/glue/plugins/plugin_instance.h" | 24 #include "webkit/glue/plugins/plugin_instance.h" |
24 #include "webkit/glue/resource_loader_bridge.h" | 25 #include "webkit/glue/resource_loader_bridge.h" |
25 #include "webkit/glue/resource_type.h" | 26 #include "webkit/glue/resource_type.h" |
26 #include "webkit/glue/webappcachecontext.h" | 27 #include "webkit/glue/webappcachecontext.h" |
27 #include "webkit/glue/webkit_glue.h" | 28 #include "webkit/glue/webkit_glue.h" |
28 | 29 |
29 namespace { | 30 namespace { |
30 | 31 |
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
650 | 651 |
651 response_funcs.size = sizeof(response_funcs); | 652 response_funcs.size = sizeof(response_funcs); |
652 response_funcs.received_redirect = CPRR_ReceivedRedirect; | 653 response_funcs.received_redirect = CPRR_ReceivedRedirect; |
653 response_funcs.start_completed = CPRR_StartCompleted; | 654 response_funcs.start_completed = CPRR_StartCompleted; |
654 response_funcs.read_completed = CPRR_ReadCompleted; | 655 response_funcs.read_completed = CPRR_ReadCompleted; |
655 response_funcs.upload_progress = CPRR_UploadProgress; | 656 response_funcs.upload_progress = CPRR_UploadProgress; |
656 } | 657 } |
657 | 658 |
658 return &browser_funcs; | 659 return &browser_funcs; |
659 } | 660 } |
OLD | NEW |