| 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_util.h" | 8 #include "base/file_util.h" |
| 9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
| 10 #include "chrome/common/chrome_constants.h" | 10 #include "chrome/common/chrome_constants.h" |
| 11 #include "chrome/common/chrome_plugin_lib.h" | 11 #include "chrome/common/chrome_plugin_lib.h" |
| 12 #include "chrome/common/chrome_plugin_util.h" | 12 #include "chrome/common/chrome_plugin_util.h" |
| 13 #include "chrome/common/chrome_switches.h" | 13 #include "chrome/common/chrome_switches.h" |
| 14 #include "chrome/common/plugin_messages.h" |
| 14 #include "chrome/plugin/plugin_process.h" | 15 #include "chrome/plugin/plugin_process.h" |
| 15 #include "chrome/plugin/plugin_thread.h" | 16 #include "chrome/plugin/plugin_thread.h" |
| 16 #include "chrome/plugin/webplugin_proxy.h" | 17 #include "chrome/plugin/webplugin_proxy.h" |
| 17 #include "net/base/data_url.h" | 18 #include "net/base/data_url.h" |
| 18 #include "webkit/glue/plugins/plugin_instance.h" | 19 #include "webkit/glue/plugins/plugin_instance.h" |
| 19 #include "webkit/glue/resource_loader_bridge.h" | 20 #include "webkit/glue/resource_loader_bridge.h" |
| 20 #include "webkit/glue/resource_type.h" | 21 #include "webkit/glue/resource_type.h" |
| 21 #include "webkit/glue/webkit_glue.h" | 22 #include "webkit/glue/webkit_glue.h" |
| 22 | 23 |
| 23 namespace { | 24 namespace { |
| (...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 606 response_funcs.size = sizeof(response_funcs); | 607 response_funcs.size = sizeof(response_funcs); |
| 607 response_funcs.received_redirect = CPRR_ReceivedRedirect; | 608 response_funcs.received_redirect = CPRR_ReceivedRedirect; |
| 608 response_funcs.start_completed = CPRR_StartCompleted; | 609 response_funcs.start_completed = CPRR_StartCompleted; |
| 609 response_funcs.read_completed = CPRR_ReadCompleted; | 610 response_funcs.read_completed = CPRR_ReadCompleted; |
| 610 response_funcs.upload_progress = CPRR_UploadProgress; | 611 response_funcs.upload_progress = CPRR_UploadProgress; |
| 611 } | 612 } |
| 612 | 613 |
| 613 return &browser_funcs; | 614 return &browser_funcs; |
| 614 } | 615 } |
| 615 | 616 |
| OLD | NEW |